Last active
March 5, 2020 16:30
-
-
Save peerapach/ddfb8c06a2f19f5537b4c4eafeef2f4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user1-service-blue | |
namespace: user1 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user1-service-green | |
namespace: user1 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user1-ingress | |
namespace: user1 | |
spec: | |
rules: | |
- host: user1.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user1-service-blue | |
servicePort: 80 | |
- host: user1-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user1-service-blue | |
servicePort: 80 | |
- host: user1-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user1-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user2-service-blue | |
namespace: user2 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user2-service-green | |
namespace: user2 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user2-ingress | |
namespace: user2 | |
spec: | |
rules: | |
- host: user2.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user2-service-blue | |
servicePort: 80 | |
- host: user2-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user2-service-blue | |
servicePort: 80 | |
- host: user2-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user2-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user3-service-blue | |
namespace: user3 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user3-service-green | |
namespace: user3 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user3-ingress | |
namespace: user3 | |
spec: | |
rules: | |
- host: user3.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user3-service-blue | |
servicePort: 80 | |
- host: user3-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user3-service-blue | |
servicePort: 80 | |
- host: user3-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user3-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user4-service-blue | |
namespace: user4 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user4-service-green | |
namespace: user4 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user4-ingress | |
namespace: user4 | |
spec: | |
rules: | |
- host: user4.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user4-service-blue | |
servicePort: 80 | |
- host: user4-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user4-service-blue | |
servicePort: 80 | |
- host: user4-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user4-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user5-service-blue | |
namespace: user5 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user5-service-green | |
namespace: user5 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user5-ingress | |
namespace: user5 | |
spec: | |
rules: | |
- host: user5.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user5-service-blue | |
servicePort: 80 | |
- host: user5-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user5-service-blue | |
servicePort: 80 | |
- host: user5-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user5-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user6-service-blue | |
namespace: user6 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user6-service-green | |
namespace: user6 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user6-ingress | |
namespace: user6 | |
spec: | |
rules: | |
- host: user6.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user6-service-blue | |
servicePort: 80 | |
- host: user6-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user6-service-blue | |
servicePort: 80 | |
- host: user6-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user6-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user7-service-blue | |
namespace: user7 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user7-service-green | |
namespace: user7 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user7-ingress | |
namespace: user7 | |
spec: | |
rules: | |
- host: user7.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user7-service-blue | |
servicePort: 80 | |
- host: user7-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user7-service-blue | |
servicePort: 80 | |
- host: user7-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user7-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user8-service-blue | |
namespace: user8 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user8-service-green | |
namespace: user8 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user8-ingress | |
namespace: user8 | |
spec: | |
rules: | |
- host: user8.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user8-service-blue | |
servicePort: 80 | |
- host: user8-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user8-service-blue | |
servicePort: 80 | |
- host: user8-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user8-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user9-service-blue | |
namespace: user9 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user9-service-green | |
namespace: user9 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user9-ingress | |
namespace: user9 | |
spec: | |
rules: | |
- host: user9.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user9-service-blue | |
servicePort: 80 | |
- host: user9-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user9-service-blue | |
servicePort: 80 | |
- host: user9-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user9-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user10-service-blue | |
namespace: user10 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user10-service-green | |
namespace: user10 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user10-ingress | |
namespace: user10 | |
spec: | |
rules: | |
- host: user10.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user10-service-blue | |
servicePort: 80 | |
- host: user10-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user10-service-blue | |
servicePort: 80 | |
- host: user10-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user10-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user11-service-blue | |
namespace: user11 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user11-service-green | |
namespace: user11 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user11-ingress | |
namespace: user11 | |
spec: | |
rules: | |
- host: user11.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user11-service-blue | |
servicePort: 80 | |
- host: user11-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user11-service-blue | |
servicePort: 80 | |
- host: user11-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user11-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user12-service-blue | |
namespace: user12 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user12-service-green | |
namespace: user12 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user12-ingress | |
namespace: user12 | |
spec: | |
rules: | |
- host: user12.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user12-service-blue | |
servicePort: 80 | |
- host: user12-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user12-service-blue | |
servicePort: 80 | |
- host: user12-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user12-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user13-service-blue | |
namespace: user13 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user13-service-green | |
namespace: user13 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user13-ingress | |
namespace: user13 | |
spec: | |
rules: | |
- host: user13.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user13-service-blue | |
servicePort: 80 | |
- host: user13-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user13-service-blue | |
servicePort: 80 | |
- host: user13-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user13-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user14-service-blue | |
namespace: user14 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user14-service-green | |
namespace: user14 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user14-ingress | |
namespace: user14 | |
spec: | |
rules: | |
- host: user14.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user14-service-blue | |
servicePort: 80 | |
- host: user14-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user14-service-blue | |
servicePort: 80 | |
- host: user14-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user14-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user15-service-blue | |
namespace: user15 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user15-service-green | |
namespace: user15 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user15-ingress | |
namespace: user15 | |
spec: | |
rules: | |
- host: user15.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user15-service-blue | |
servicePort: 80 | |
- host: user15-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user15-service-blue | |
servicePort: 80 | |
- host: user15-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user15-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user16-service-blue | |
namespace: user16 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user16-service-green | |
namespace: user16 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user16-ingress | |
namespace: user16 | |
spec: | |
rules: | |
- host: user16.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user16-service-blue | |
servicePort: 80 | |
- host: user16-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user16-service-blue | |
servicePort: 80 | |
- host: user16-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user16-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user17-service-blue | |
namespace: user17 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user17-service-green | |
namespace: user17 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user17-ingress | |
namespace: user17 | |
spec: | |
rules: | |
- host: user17.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user17-service-blue | |
servicePort: 80 | |
- host: user17-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user17-service-blue | |
servicePort: 80 | |
- host: user17-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user17-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user18-service-blue | |
namespace: user18 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user18-service-green | |
namespace: user18 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user18-ingress | |
namespace: user18 | |
spec: | |
rules: | |
- host: user18.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user18-service-blue | |
servicePort: 80 | |
- host: user18-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user18-service-blue | |
servicePort: 80 | |
- host: user18-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user18-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user19-service-blue | |
namespace: user19 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user19-service-green | |
namespace: user19 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user19-ingress | |
namespace: user19 | |
spec: | |
rules: | |
- host: user19.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user19-service-blue | |
servicePort: 80 | |
- host: user19-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user19-service-blue | |
servicePort: 80 | |
- host: user19-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user19-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user20-service-blue | |
namespace: user20 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user20-service-green | |
namespace: user20 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user20-ingress | |
namespace: user20 | |
spec: | |
rules: | |
- host: user20.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user20-service-blue | |
servicePort: 80 | |
- host: user20-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user20-service-blue | |
servicePort: 80 | |
- host: user20-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user20-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user21-service-blue | |
namespace: user21 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user21-service-green | |
namespace: user21 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user21-ingress | |
namespace: user21 | |
spec: | |
rules: | |
- host: user21.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user21-service-blue | |
servicePort: 80 | |
- host: user21-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user21-service-blue | |
servicePort: 80 | |
- host: user21-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user21-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user22-service-blue | |
namespace: user22 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user22-service-green | |
namespace: user22 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user22-ingress | |
namespace: user22 | |
spec: | |
rules: | |
- host: user22.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user22-service-blue | |
servicePort: 80 | |
- host: user22-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user22-service-blue | |
servicePort: 80 | |
- host: user22-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user22-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user23-service-blue | |
namespace: user23 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user23-service-green | |
namespace: user23 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user23-ingress | |
namespace: user23 | |
spec: | |
rules: | |
- host: user23.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user23-service-blue | |
servicePort: 80 | |
- host: user23-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user23-service-blue | |
servicePort: 80 | |
- host: user23-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user23-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user24-service-blue | |
namespace: user24 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user24-service-green | |
namespace: user24 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user24-ingress | |
namespace: user24 | |
spec: | |
rules: | |
- host: user24.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user24-service-blue | |
servicePort: 80 | |
- host: user24-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user24-service-blue | |
servicePort: 80 | |
- host: user24-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user24-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user25-service-blue | |
namespace: user25 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user25-service-green | |
namespace: user25 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user25-ingress | |
namespace: user25 | |
spec: | |
rules: | |
- host: user25.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user25-service-blue | |
servicePort: 80 | |
- host: user25-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user25-service-blue | |
servicePort: 80 | |
- host: user25-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user25-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user26-service-blue | |
namespace: user26 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user26-service-green | |
namespace: user26 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user26-ingress | |
namespace: user26 | |
spec: | |
rules: | |
- host: user26.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user26-service-blue | |
servicePort: 80 | |
- host: user26-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user26-service-blue | |
servicePort: 80 | |
- host: user26-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user26-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user27-service-blue | |
namespace: user27 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user27-service-green | |
namespace: user27 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user27-ingress | |
namespace: user27 | |
spec: | |
rules: | |
- host: user27.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user27-service-blue | |
servicePort: 80 | |
- host: user27-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user27-service-blue | |
servicePort: 80 | |
- host: user27-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user27-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user28-service-blue | |
namespace: user28 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user28-service-green | |
namespace: user28 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user28-ingress | |
namespace: user28 | |
spec: | |
rules: | |
- host: user28.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user28-service-blue | |
servicePort: 80 | |
- host: user28-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user28-service-blue | |
servicePort: 80 | |
- host: user28-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user28-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user29-service-blue | |
namespace: user29 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user29-service-green | |
namespace: user29 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user29-ingress | |
namespace: user29 | |
spec: | |
rules: | |
- host: user29.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user29-service-blue | |
servicePort: 80 | |
- host: user29-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user29-service-blue | |
servicePort: 80 | |
- host: user29-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user29-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user30-service-blue | |
namespace: user30 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user30-service-green | |
namespace: user30 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user30-ingress | |
namespace: user30 | |
spec: | |
rules: | |
- host: user30.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user30-service-blue | |
servicePort: 80 | |
- host: user30-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user30-service-blue | |
servicePort: 80 | |
- host: user30-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user30-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user31-service-blue | |
namespace: user31 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user31-service-green | |
namespace: user31 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user31-ingress | |
namespace: user31 | |
spec: | |
rules: | |
- host: user31.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user31-service-blue | |
servicePort: 80 | |
- host: user31-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user31-service-blue | |
servicePort: 80 | |
- host: user31-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user31-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user32-service-blue | |
namespace: user32 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user32-service-green | |
namespace: user32 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user32-ingress | |
namespace: user32 | |
spec: | |
rules: | |
- host: user32.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user32-service-blue | |
servicePort: 80 | |
- host: user32-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user32-service-blue | |
servicePort: 80 | |
- host: user32-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user32-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user33-service-blue | |
namespace: user33 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user33-service-green | |
namespace: user33 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user33-ingress | |
namespace: user33 | |
spec: | |
rules: | |
- host: user33.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user33-service-blue | |
servicePort: 80 | |
- host: user33-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user33-service-blue | |
servicePort: 80 | |
- host: user33-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user33-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user34-service-blue | |
namespace: user34 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user34-service-green | |
namespace: user34 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user34-ingress | |
namespace: user34 | |
spec: | |
rules: | |
- host: user34.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user34-service-blue | |
servicePort: 80 | |
- host: user34-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user34-service-blue | |
servicePort: 80 | |
- host: user34-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user34-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user35-service-blue | |
namespace: user35 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user35-service-green | |
namespace: user35 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user35-ingress | |
namespace: user35 | |
spec: | |
rules: | |
- host: user35.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user35-service-blue | |
servicePort: 80 | |
- host: user35-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user35-service-blue | |
servicePort: 80 | |
- host: user35-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user35-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user36-service-blue | |
namespace: user36 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user36-service-green | |
namespace: user36 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user36-ingress | |
namespace: user36 | |
spec: | |
rules: | |
- host: user36.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user36-service-blue | |
servicePort: 80 | |
- host: user36-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user36-service-blue | |
servicePort: 80 | |
- host: user36-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user36-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user37-service-blue | |
namespace: user37 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user37-service-green | |
namespace: user37 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user37-ingress | |
namespace: user37 | |
spec: | |
rules: | |
- host: user37.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user37-service-blue | |
servicePort: 80 | |
- host: user37-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user37-service-blue | |
servicePort: 80 | |
- host: user37-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user37-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user38-service-blue | |
namespace: user38 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user38-service-green | |
namespace: user38 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user38-ingress | |
namespace: user38 | |
spec: | |
rules: | |
- host: user38.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user38-service-blue | |
servicePort: 80 | |
- host: user38-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user38-service-blue | |
servicePort: 80 | |
- host: user38-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user38-service-green | |
servicePort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user40-service-blue | |
namespace: user40 | |
spec: | |
selector: | |
app: app-user-blue | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: app-user40-service-green | |
namespace: user40 | |
spec: | |
selector: | |
app: app-user-green | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 5000 | |
--- | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: app-user40-ingress | |
namespace: user40 | |
spec: | |
rules: | |
- host: user40.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user40-service-blue | |
servicePort: 80 | |
- host: user40-blue.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user40-service-blue | |
servicePort: 80 | |
- host: user40-green.workshop.ezylinux.com | |
http: | |
paths: | |
- backend: | |
serviceName: app-user40-service-green | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment