Upgrading Cloud Native Compiler
Upgrades only incur a few seconds of downtime while the gateway
pod is restarted. The cluster performs a rolling update on all other components without incuring downtime on the client VMs.
To upgrade your Cloud Native Compiler service:
-
Download the updated copy of the Cloud Native Compiler YAML files.
-
Apply the new YAMLs:
For developer installation with no SSL, run the following from
<cnc-install-dir>/kubernetes/
kubectl apply -n compiler -k base
+ For production installation with SSL, run the following:
$ kubectl apply -n compiler -k overlays/ssl-direct
+ . Watch rollout process and verify it has completed successfully:
+
$ kubectl get pod -n compiler -w