mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
41f9a14a24
Convert resource templates from json to yaml Yaml is easier and less error prone to modify by hand. It also allows comments which can be especially useful in the templates.
12 lines
282 B
Text
12 lines
282 B
Text
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: demo-APP-NUM
|
|
spec:
|
|
containers:
|
|
- image: quay.io/kubernetes_incubator/node-feature-discovery-IMG
|
|
name: demo-container-APP-NUM
|
|
ports:
|
|
- containerPort: 3351
|
|
hostPort: 10001
|
|
restartPolicy: Never
|