diff --git a/resources.yaml b/resources.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a3d64c573431beea83e5b403af669c5eff41c125 --- /dev/null +++ b/resources.yaml @@ -0,0 +1,34 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: authentication +spec: + type: LoadBalancer + selector: + app: authentication + ports: + - port: 80 + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: authentication + labels: + app: authentication +spec: + replicas: 1 + selector: + matchLabels: + app: authentication + template: + metadata: + labels: + app: authentication + spec: + containers: + - name: authentication + image: us-central1-docker.pkg.dev/GOOGLE_PROJECT/my-repository/authentication:latest + ports: + - containerPort: 8080 \ No newline at end of file