diff --git a/helm-msa/templates/deployment/myaktion-frontend-deployment.yaml b/helm-msa/templates/deployment/myaktion-frontend-deployment.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a300ba9a32dadd0208c9ca6f51b601511c435ad4 --- /dev/null +++ b/helm-msa/templates/deployment/myaktion-frontend-deployment.yaml @@ -0,0 +1,22 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: myaktion-frontend-deployment +spec: + replicas: 1 + selector: + matchLabels: + app: myaktion-frontend + template: + metadata: + annotations: + linkerd.io/inject: enabled + labels: + app: myaktion-frontend + spec: + containers: + - name: myaktion-frontend + image: ginyanote/myaktion-frontend:0.1.0 + imagePullPolicy: IfNotPresent + ports: + - containerPort: 8080 \ No newline at end of file diff --git a/helm-msa/templates/service/myaktion-frontend-service.yaml b/helm-msa/templates/service/myaktion-frontend-service.yaml new file mode 100644 index 0000000000000000000000000000000000000000..03344244cd993fed11a6c0634bb5e38c3c0f263d --- /dev/null +++ b/helm-msa/templates/service/myaktion-frontend-service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: myaktion-frontend-service +spec: + selector: + app: myaktion-frontend + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + nodePort: 30001 + type: NodePort \ No newline at end of file