This commit is contained in:
zhangwei 2023-11-29 19:09:33 +08:00
parent 5e7d1dc22a
commit 066007df0d
1 changed files with 68 additions and 27 deletions

View File

@ -1,31 +1,72 @@
description: 1031 description: sealos-task-zw3
name: myapp-1031 name: sealos-task-zw3
nsID: ns-admin
tasks: tasks:
- taskType: cloud - taskType: cloud
# participantId: 1713882658292895744 replicas: 2
matchLabels: matchLabels:
cloud: ali cloud: sealos
metadata: metadata:
apiVersion: apps/v1 - apiVersion: v1
kind: Deployment kind: Service
metadata: metadata:
name: myapp-1031 namespace: ns-admin
namespace: default name: hello-world-3
spec: labels:
replicas: 2 cloud.sealos.io/app-deploy-manager: hello-world-3
selector: spec:
matchLabels: ports:
app: myapp - port: 80
version: v1 targetPort: 80
template: name: rcszabasszit
metadata: selector:
labels: app: hello-world-3
app: myapp
version: v1 - apiVersion: apps/v1
spec: kind: Deployment
containers: metadata:
- image: nginx namespace: ns-admin
imagePullPolicy: IfNotPresent name: hello-world-3
name: myapp annotations:
ports: originImageName: nginx
- containerPort: 80 deploy.cloud.sealos.io/minReplicas: '1'
deploy.cloud.sealos.io/maxReplicas: '1'
labels:
cloud.sealos.io/app-deploy-manager: hello-world-3
app: hello-world-3
spec:
replicas: 1
revisionHistoryLimit: 1
selector:
matchLabels:
app: hello-world-3
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
app: hello-world-3
restartTime: '20231129185132'
spec:
containers:
- name: hello-world-3
image: nginx
env: []
resources:
requests:
cpu: 10m
memory: 6Mi
limits:
cpu: 100m
memory: 64Mi
ports:
- containerPort: 80
name: rcszabasszit
imagePullPolicy: Always
volumeMounts: []
volumes: []