Former-commit-id: 066007df0dff4d2b397b0b1723d0edc309c7d3ee
This commit is contained in:
zhangwei 2023-11-29 19:09:33 +08:00
parent acd45f79a5
commit edaddf6b71
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: Service
metadata:
namespace: ns-admin
name: hello-world-3
labels:
cloud.sealos.io/app-deploy-manager: hello-world-3
spec:
ports:
- port: 80
targetPort: 80
name: rcszabasszit
selector:
app: hello-world-3
- apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: myapp-1031 namespace: ns-admin
namespace: default name: hello-world-3
annotations:
originImageName: nginx
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: spec:
replicas: 2 replicas: 1
revisionHistoryLimit: 1
selector: selector:
matchLabels: matchLabels:
app: myapp app: hello-world-3
version: v1 strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template: template:
metadata: metadata:
labels: labels:
app: myapp app: hello-world-3
version: v1 restartTime: '20231129185132'
spec: spec:
containers: containers:
- image: nginx - name: hello-world-3
imagePullPolicy: IfNotPresent image: nginx
name: myapp env: []
resources:
requests:
cpu: 10m
memory: 6Mi
limits:
cpu: 100m
memory: 64Mi
ports: ports:
- containerPort: 80 - containerPort: 80
name: rcszabasszit
imagePullPolicy: Always
volumeMounts: []
volumes: []