diff --git a/test/e2e/testing-manifests/ingress/neg/ing.yaml b/test/e2e/testing-manifests/ingress/neg/ing.yaml new file mode 100644 index 00000000000..e266d98516e --- /dev/null +++ b/test/e2e/testing-manifests/ingress/neg/ing.yaml @@ -0,0 +1,8 @@ +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: hostname +spec: + backend: + serviceName: hostname + servicePort: 80 \ No newline at end of file diff --git a/test/e2e/testing-manifests/ingress/neg/rc.yaml b/test/e2e/testing-manifests/ingress/neg/rc.yaml new file mode 100644 index 00000000000..717b61b0541 --- /dev/null +++ b/test/e2e/testing-manifests/ingress/neg/rc.yaml @@ -0,0 +1,17 @@ +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 + imagePullPolicy: IfNotPresent + name: hostname + terminationGracePeriodSeconds: 120 \ No newline at end of file diff --git a/test/e2e/testing-manifests/ingress/neg/svc.yaml b/test/e2e/testing-manifests/ingress/neg/svc.yaml new file mode 100644 index 00000000000..3a0be750a21 --- /dev/null +++ b/test/e2e/testing-manifests/ingress/neg/svc.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: hostname + annotations: + alpha.cloud.google.com/load-balancer-neg: "true" +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 9376 + selector: + run: hostname + sessionAffinity: None + type: NodePort \ No newline at end of file