Java Magazine, May/June 2019
ORACLE COM JAVAMAGAZINE MAY JUNE 2019 23 containers NAME READY STATUS RESTARTS helidon quickstart se 786bd599ff 5gm29 1 1 Running 0 helidon quickstart se 786bd599ff fkg8g 1 1 Running 0 helidon quickstart se 786bd599ff g7945 1 1 Running 0 helidon quickstart se 786bd599ff h6c5n 1 1 Running 0 helidon quickstart se 786bd599ff n874p 1 1 Running 0 You can just as easily scale your deployment back down once again edit your deployment specification and apply the change grep replicas target app yaml replicas 2 kubectl apply f target app yaml service helidon quickstart se unchanged deployment extensions helidon quickstart se configured kubectl get pods NAME READY STATUS RESTARTS helidon quickstart se 786bd599ff h6c5n 1 1 Running 0 helidon quickstart se 786bd599ff n874p 1 1 Running 0 There are more advanced scaling features in Kubernetes such as the Horizontal Pod Autoscaler as well as features in managed cloud platforms to automatically scale up node resources on demand Next Steps While it is beyond the scope of this article there are several more advanced Kubernetes features that are now within your grasp The Kubernetes documentation is a great resource to start with When you are done working with your service you can remove it from your cluster by using kubectl delete
You must have JavaScript enabled to view digital editions.