GoogleCloudPlatform / gke-network-policy-demo

This guide demonstrates how to improve the security of your Kubernetes Engine by applying fine-grained restrictions to network communication. You will provision a simple HTTP server and two client pods in a Kubernetes Engine cluster, then use a Network Policy restrict connections from client pods.
Apache License 2.0
99 stars 85 forks source link

update apiVersion of Deployment from extensions/v1beta1 to apps/v1 #36

Closed oke-py closed 4 years ago

oke-py commented 4 years ago

Deployment in extensions/v1beta1 is deprecated in Kubernetes v1.16. https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/

Currently, GKE is using v1.14 or v1.15, and so these manifests can be applied. However, a few months later, GKE will use v1.16, and then the manifests cannot be applied.