2. Developing Kubernetes
applications is frustrating.
Too much
configuration.
Debugging
is a pain.
Applications
have so many
moving parts.
I spend too
much time
outside of my
code.
4. Kubectx and Kubens
● kubectx - Utility to manage and switch between Kubernetes contexts of different
clusters
● Easy to manage dealing with multiple Kubernetes clusters(including GCP, AWS,
Azure, Docker for desktop, minikube)
● Kubens - Utility to switch between Kubernetes namespaces smoothly
● Kubectx and kubens - combination saves a lot of time
https://github.com/ahmetb/kubectx
5. Kustomize Overview
Additional Features
● Apply common:
○ Labels
○ Annotations
● Add a prefix to all resource names
● Easily manage ConfigMaps and
Secrets
System for managing and
applying patches on top of
existing Kubernetes YAML
Easier to maintain than
templates
Integrated with kubectl
9. Helm
● Package manager for Kubernetes applications
● Charts are easy to create, version, share, and publish
● Helm 3 removes server side component Tiller and this makes Helm very easy to
use
● Helm can also help as template manager for Kubernetes, but using templates can
get complex
helm search wordpress
helm install stable/wordpress
10. Jib
● Creates Container images for Java without Dockerfile
○ Don’t need to worry about Dockerfile best practises
○ Daemonless
● Available as plugins for Maven and Gradle
● Optimized for fast builds
Steps:
Apply plugin
Mvn jib:build (or) gradle jib
11. Skaffold
● Fast local kubernetes development
● Works with any build(Dockerfile, Jib), test and deploy tools(helm, kubectl,
kustomize)
● Backend for cloud code
● Client side lightweight tool
● Supports profiles that allows extension into different environments
Skaffold init
Skaffold run - single deploy
Skaffold dev - continuous deploy
13. Cloud Code
Building highly scalable applications with
Kubernetes can be hard, Google Cloud Code
extends your IDE so that you can continuously
deploy to a cluster, and edit/debug just like you
were working with local code.
Available for VS code and Intellij
14. Cloud Code for IDEs Features
1 32
Debugging Cluster browsingKubernetes inner
development loop
4 65
Integrations with
popular tools and
libraries
Google Cloud
Platform
integrations
Templates and
editing
15. The tools you need for Cloud Native development, leveraging your favorite OS,
IDE, language and cloud. Available in the Visual Studio Code Marketplace.
Support for
1 2 3 4
Getting
Started
Local
Development
Deploy to
Remote Cluster
Troubleshooting -
Debugging & logs
Cloud Code for Visual Studio Code