Skip to content

Commit 6b46e46

Browse files
committed
First commit
0 parents  commit 6b46e46

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

pod-hello-world-with-ip.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# initially created with:
2+
# kubectl run nginx --image=nginx --dry-run=client -o yaml
3+
apiVersion: v1
4+
kind: Pod
5+
metadata:
6+
creationTimestamp: null
7+
labels:
8+
run: nginx
9+
name: nginx
10+
spec:
11+
containers:
12+
- env:
13+
- name: POD_IP
14+
valueFrom:
15+
fieldRef:
16+
fieldPath: status.podIP
17+
image: nginx
18+
name: nginx
19+
resources: {}
20+
dnsPolicy: ClusterFirst
21+
restartPolicy: Always
22+
status: {}

pod-hello-world.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# initially created with:
2+
# kubectl run nginx --image=nginx --dry-run=client -o yaml
3+
apiVersion: v1
4+
kind: Pod
5+
metadata:
6+
creationTimestamp: null
7+
labels:
8+
run: nginx
9+
name: nginx
10+
spec:
11+
containers:
12+
- image: nginx
13+
name: nginx
14+
resources: {}
15+
dnsPolicy: ClusterFirst
16+
restartPolicy: Always
17+
status: {}

0 commit comments

Comments
 (0)