Skip to content

k8s: upgrade deprecated apis

Created by: keegancsmith

We have lots of uses of deprecated APIs. See https://sourcegraph.sgdev.org/search?q=f:%28DaemonSet%7CDeployment%7CReplicaSet%7CStatefulSet%7CNetworkPolicy%29+count:1000+apiVersion+/v1beta&patternType=regexp#50

The notice about this is at https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/ (which GKE is upgrading to very soon).

Notice that most of our hits are on our kube-backup repo. This reflects what we actually run in production. It seems a lot of our resources are old.