Skip to content

Commit

Permalink
The glorious copilot-ops bot has granted you a solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 24, 2022
1 parent 5922ec9 commit 0f6a04d
Showing 1 changed file with 35 additions and 9 deletions.
44 changes: 35 additions & 9 deletions generated-by-copilot-ops/generated-by-copilot-ops1.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f6a04d

Please sign in to comment.