新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
16
learn/learn-kubernetes-master/kiamol/ch02/deployment.yaml
Normal file
16
learn/learn-kubernetes-master/kiamol/ch02/deployment.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hello-kiamol-4
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hello-kiamol-4
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: hello-kiamol-4
|
||||
spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: kiamol/ch02-hello-kiamol
|
||||
Reference in New Issue
Block a user