Skip to content

Commit

Permalink
[0521] sutdy a.core-concepts
Browse files Browse the repository at this point in the history
  • Loading branch information
ndy2 committed May 20, 2024
1 parent a82b75c commit 8d7cfd9
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
17 changes: 17 additions & 0 deletions curriculum-1.21/a.core-concepts/0521/busybox-ls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: busybox-ls
name: busybox-ls
spec:
containers:
- args:
- ls
image: busybox
name: busybox-ls
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Never
status: {}
19 changes: 19 additions & 0 deletions curriculum-1.21/a.core-concepts/0521/busybox-sleep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: busybox-sleep
name: busybox-sleep
spec:
containers:
- args:
- /bin/sh
- -c
- sleep 3600
image: busybox
name: busybox-sleep
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Never
status: {}
17 changes: 17 additions & 0 deletions curriculum-1.21/a.core-concepts/0521/nginx-port.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx
name: nginx
spec:
containers:
- image: nginx:1.17.4
name: nginx
ports:
- containerPort: 80
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Never
status: {}
9 changes: 9 additions & 0 deletions curriculum-1.21/a.core-concepts/0521/nginx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Pod
metadata:
name: busybox
spec:
containers:
- image: busybox
name: busybox
restartPolicy: Never

0 comments on commit 8d7cfd9

Please sign in to comment.