pod.yaml

apiVersion: v1
kind: Pod
metadata:
name: activitiapp
namespace: default
labels:
app: web
spec:
containers:
- name: web
image: activitiapp:1.0
ports:
- containerPort: 8080
nodeSelector:
nodename: node1

你可能感兴趣的:(pod.yaml)