diff --git a/generated-by-copilot-ops/generated-by-copilot-ops1.yaml b/generated-by-copilot-ops/generated-by-copilot-ops1.yaml index ab83fab..672105c 100644 --- a/generated-by-copilot-ops/generated-by-copilot-ops1.yaml +++ b/generated-by-copilot-ops/generated-by-copilot-ops1.yaml @@ -1,22 +1,48 @@ + apiVersion: apps/v1 kind: Deployment metadata: - name: jupyter-notebook + name: nginx + labels: + app: nginx spec: replicas: 1 selector: matchLabels: - app: jupyter-notebook + app: nginx template: metadata: labels: - app: jupyter-notebook + app: nginx spec: containers: - - name: jupyter-notebook - image: jupyter/tensorflow-notebook - resources: - limits: - nvidia.com/gpu: 1 + - name: nginx + image: nginx:1.7.9 ports: - - containerPort: 8888 + - containerPort: 80 +--- +apiVersion: v1 +kind: Service +metadata: + name: nginx + labels: + app: nginx +spec: + type: ClusterIP + ports: + - port: 80 + targetPort: 80 + selector: + app: nginx +--- +apiVersion: v1 +kind: Route +metadata: + name: nginx + labels: + app: nginx +spec: + host: nginx.example.com + to: + kind: Service + name: nginx