File tree 2 files changed +50
-44
lines changed
2 files changed +50
-44
lines changed Original file line number Diff line number Diff line change 1
1
<snippet >
2
2
<content ><![CDATA[
3
3
apiVersion: extensions/v1beta1
4
- Kind : Ingress
4
+ kind : Ingress
5
5
metadata:
6
6
name: ${1}
7
7
annotations:
Original file line number Diff line number Diff line change 1
1
<snippet >
2
2
<content ><![CDATA[
3
3
apiVersion: v1
4
- kind: Pod
5
- metadata:
6
- name: ${1:Enter pod name}
7
- namespace: ${2:default}
8
- labels:
9
- name: $1
10
- annotations:
11
- name: $1
12
- spec:
13
- containers:
14
- - name: ${3:Enter container name}
15
- image: ${4:Enter container image}
16
- imagePullPolicy: ${5:Always} # Always|Nerver|IfNotPresent
17
- # command: string
18
- # workingDir: string
19
- # volumeMounts:
20
- # - name: string
21
- # mountPath: string
22
- # readOnly: boolean
23
- # ports:
24
- # - name: string
25
- # containerPort: Int
26
- # hostPort: Int
27
- # protocol: string # TCP|UDP
28
- # env:
29
- # - name: string
30
- # value: string
31
- # resources:
32
- # requests:
33
- # limits:
34
- # cpu: string
35
- # memory: string
36
- # volumes:
37
- # - name: string
38
- # emptyDir: {}
39
- # hostPath:
40
- # path: string
41
- dnsPolicy: Default # Default|ClusterFirst
42
- restartPolicy: Always # Always|OnFailure
43
- # nodeSeletor:
44
- # name: string
45
- # imagePullSecrets:
46
- # name: string
4
+ kind: Pod
5
+ metadata:
6
+ name: ${1:Enter pod name}
7
+ namespace: ${2:default}
8
+ labels:
9
+ name: $1
10
+ annotations:
11
+ name: $1
12
+ spec:
13
+ containers:
14
+ - name: ${3:Enter container name}
15
+ image: ${4:Enter container image}
16
+ imagePullPolicy: ${5:Always} # Always|Nerver|IfNotPresent
17
+ # command: string
18
+ # workingDir: string
19
+ # volumeMounts:
20
+ # - name: string
21
+ # mountPath: string
22
+ # readOnly: boolean
23
+ # ports:
24
+ # - name: string
25
+ # containerPort: Int
26
+ # hostPort: Int
27
+ # protocol: string # TCP|UDP
28
+ # livenessProbe:
29
+ # httpGet:
30
+ # path: /healthz
31
+ # port: 8080
32
+ # initialDelaySeconds: 3
33
+ # periodSeconds: 3
34
+ # env:
35
+ # - name: string
36
+ # value: string
37
+ # resources:
38
+ # requests:
39
+ # limits:
40
+ # cpu: string
41
+ # memory: string
42
+ # volumes:
43
+ # - name: string
44
+ # emptyDir: {}
45
+ # hostPath:
46
+ # path: string
47
+ dnsPolicy: Default # Default|ClusterFirst
48
+ restartPolicy: Always # Always|OnFailure
49
+ # nodeSeletor:
50
+ # name: string
51
+ # imagePullSecrets:
52
+ # name: string
47
53
]]> </content >
48
54
<tabTrigger >k8s:po</tabTrigger >
49
55
<scope >source.yaml</scope >
You can’t perform that action at this time.
0 commit comments