Bumping k8s dependencies to 1.13

This commit is contained in:
Cheng Xing
2018-11-16 14:08:25 -08:00
parent 305407125c
commit b4c0b68ec7
8002 changed files with 884099 additions and 276228 deletions

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
name: hostname
annotations:
alpha.cloud.google.com/load-balancer-neg: "true"
cloud.google.com/neg: '{"ingress":true}'
spec:
ports:
- port: 80

View File

@@ -0,0 +1,8 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: hostname
spec:
backend:
serviceName: hostname
servicePort: 80

View File

@@ -0,0 +1,31 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: hostname
name: hostname
spec:
template:
metadata:
labels:
run: hostname
spec:
containers:
- image: gcr.io/kubernetes-e2e-test-images/serve-hostname-amd64:1.1
name: host1
command:
- /bin/sh
- -c
- /serve_hostname -http=true -udp=false -port=8000
ports:
- protocol: TCP
containerPort: 8000
- image: gcr.io/kubernetes-e2e-test-images/serve-hostname-amd64:1.1
name: host2
command:
- /bin/sh
- -c
- /serve_hostname -http=true -udp=false -port=8080
ports:
- protocol: TCP
containerPort: 8080

View File

@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: hostname
annotations:
cloud.google.com/neg: '{"ingress":true,"exposed_ports":{"80":{},"443":{}}}'
spec:
ports:
- port: 80
name: host1
protocol: TCP
targetPort: 8000
- port: 443
name: host2
protocol: TCP
targetPort: 8080
selector:
run: hostname
sessionAffinity: None
type: ClusterIP

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
name: hostname
annotations:
alpha.cloud.google.com/load-balancer-neg: "true"
cloud.google.com/neg: '{"ingress":true}'
spec:
ports:
- port: 80
@@ -12,4 +12,4 @@ spec:
selector:
run: hostname
sessionAffinity: None
type: NodePort
type: NodePort