diff --git a/developer/tryout/samples/qsg-sample-backend.yaml b/developer/tryout/samples/qsg-sample-backend.yaml new file mode 100644 index 000000000..7fe5c0eac --- /dev/null +++ b/developer/tryout/samples/qsg-sample-backend.yaml @@ -0,0 +1,31 @@ +apiVersion: v1 +kind: Service +metadata: + name: employee-service +spec: + type: ClusterIP + ports: + - port: 80 + targetPort: 80 + selector: + app: employee-app +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: employee-service-deployment +spec: + replicas: 1 + selector: + matchLabels: + app: employee-app + template: + metadata: + labels: + app: employee-app + spec: + containers: + - name: employee-service-container + image: sega1234/json-server-service:latest + ports: + - containerPort: 80