From d3b57ae7ea77ea89258e4cf0897e1799726cccb2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 17 Oct 2022 20:45:37 +0000 Subject: [PATCH] The awe-inspiring copilot-ops bot has miraculously solved all of your problems --- .../generated-by-copilot-ops1.yaml | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/generated-by-copilot-ops/generated-by-copilot-ops1.yaml b/generated-by-copilot-ops/generated-by-copilot-ops1.yaml index 254696f..bb953ec 100644 --- a/generated-by-copilot-ops/generated-by-copilot-ops1.yaml +++ b/generated-by-copilot-ops/generated-by-copilot-ops1.yaml @@ -1,17 +1,26 @@ -## This document contains instructions for a new Kubernetes YAML that needs to be created, -## and the resultant YAML. -## -## The structure of the document is as follows: -## 1. Description of the desired YAML -## 2. The new YAML, terminated by an 'EOF' - -## 1. Instructions for the new Kubernetes YAML: -create a Deployment which pulls a Jupyter Notebook image and requests 1 GPU resource - -## 2. The new YAML: ---- apiVersion: apps/v1 kind: Deployment +metadata: + name: jupyter-notebook +spec: + replicas: 1 + selector: + matchLabels: + app: jupyter-notebook + template: + metadata: + labels: + app: jupyter-notebook + spec: + containers: + - name: jupyter-notebook + image: jupyter/tensorflow-notebook + resources: + limits: + nvidia.com/gpu: 1 + ports: + - containerPort: 8888 +: Deployment metadata: name: jupyter-notebook-deployment spec: