Remove cluster-service annotation to avoid conflicting with GKE addon manager
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: l7-default-backend
@@ -6,7 +6,6 @@ metadata:
labels:
k8s-app: glbc
kubernetes.io/name: "GLBC"
- kubernetes.io/cluster-service: "true"
spec:
replicas: 1
selector:
@@ -50,7 +49,6 @@ metadata:
namespace: kube-system
labels:
k8s-app: glbc
- kubernetes.io/cluster-service: "true"
kubernetes.io/name: "GLBCDefaultBackend"
spec:
# The default backend must be of type NodePort.
@@ -62,4 +60,3 @@ spec:
name: http
selector:
k8s-app: glbc
-
