diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 00000000..011c6037 --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,26 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + creationTimestamp: null + labels: + app: vote + tier: front + name: vote +spec: + replicas: 2 + selector: + matchLabels: + app: vote + strategy: {} + template: + metadata: + creationTimestamp: null + labels: + app: vote + tier: front + spec: + containers: + - image: schoolofdevops/vote:v1 + name: vote + resources: {} +status: {} diff --git a/nirvit/deployment b/nirvit/deployment new file mode 100644 index 00000000..c93c196e --- /dev/null +++ b/nirvit/deployment @@ -0,0 +1,27 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + creationTimestamp: null + labels: + app: vote + tier: front + name: vote +spec: + replicas: 2 + selector: + matchLabels: + app: vote + strategy: {} + template: + metadata: + creationTimestamp: null + labels: + app: vote + tier: front + spec: + containers: + - image: schoolofdevops/vote:v1 + name: vote + resources: {} +status: {} +1234 diff --git a/nirvit/service.yaml b/nirvit/service.yaml new file mode 100644 index 00000000..591ed78b --- /dev/null +++ b/nirvit/service.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + labels: + app: vote + tier: front + name: vote +spec: + ports: + - name: "80" + nodePort: 30000 + port: 80 + protocol: TCP + targetPort: 80 + selector: + app: vote + type: NodePort +status: + loadBalancer: {} +1234 diff --git a/service.yaml b/service.yaml new file mode 100644 index 00000000..de6bee0d --- /dev/null +++ b/service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + labels: + app: vote + tier: front + name: vote +spec: + ports: + - name: "80" + nodePort: 30000 + port: 80 + protocol: TCP + targetPort: 80 + selector: + app: vote + type: NodePort +status: + loadBalancer: {}