新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: apps/v1
|
||||
kind: ReplicaSet
|
||||
metadata:
|
||||
name: whoami-web
|
||||
labels:
|
||||
kiamol: ch06
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: whoami-web
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: whoami-web
|
||||
spec:
|
||||
containers:
|
||||
- image: kiamol/ch02-whoami
|
||||
name: web
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
Reference in New Issue
Block a user