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
name: myapp-1031
description: sealos-task-zw3
name: sealos-task-zw3
nsID: ns-admin
tasks:
- taskType: cloud
# participantId: 1713882658292895744
replicas: 2
matchLabels:
cloud: ali
cloud: sealos
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
metadata:
name: myapp-1031
namespace: default
namespace: ns-admin
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:
replicas: 2
replicas: 1
revisionHistoryLimit: 1
selector:
matchLabels:
app: myapp
version: v1
app: hello-world-3
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
app: myapp
version: v1
app: hello-world-3
restartTime: '20231129185132'
spec:
containers:
- image: nginx
imagePullPolicy: IfNotPresent
name: myapp
- 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: []