mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-04-02 23:08:47 +02:00
92 lines
2.4 KiB
YAML
92 lines
2.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: test-container-ports
|
|
namespace: default
|
|
labels:
|
|
app: test-app
|
|
uid: 12345678-1234-1234-1234-123456789012
|
|
resourceVersion: "12345"
|
|
generation: 1
|
|
creationTimestamp: "2024-01-01T00:00:00Z"
|
|
managedFields:
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:spec:
|
|
f:template:
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"nginx"}:
|
|
f:ports:
|
|
k:{"containerPort":80,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
k:{"containerPort":443,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
k:{"name":"sidecar"}:
|
|
f:ports:
|
|
k:{"containerPort":9090,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
manager: argocd-controller
|
|
operation: Apply
|
|
time: "2024-01-01T00:00:00Z"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: test-app
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: test-app
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:1.21
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
protocol: TCP
|
|
- containerPort: 443
|
|
name: https
|
|
protocol: TCP
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
imagePullPolicy: IfNotPresent
|
|
- name: sidecar
|
|
image: busybox:1.35
|
|
command: ["sleep", "3600"]
|
|
ports:
|
|
- containerPort: 9090
|
|
name: sidecar-port
|
|
protocol: TCP
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
imagePullPolicy: IfNotPresent
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 30
|
|
dnsPolicy: ClusterFirst
|
|
securityContext: {}
|
|
schedulerName: default-scheduler
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxUnavailable: 25%
|
|
maxSurge: 25%
|
|
revisionHistoryLimit: 10
|
|
progressDeadlineSeconds: 600
|
|
status:
|
|
observedGeneration: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|
|
readyReplicas: 1
|
|
availableReplicas: 1 |