286 lines
9.6 KiB
YAML
286 lines
9.6 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: '2025-10-27T21:31:07Z'
|
|
generateName: nginx-demo-6748f5c784-
|
|
labels:
|
|
app: nginx-demo
|
|
pod-template-hash: 6748f5c784
|
|
name: nginx-demo-6748f5c784-g8kfj
|
|
namespace: nginx-demo
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: nginx-demo-6748f5c784
|
|
uid: 64b36a88-a697-458f-94eb-a91e7b474cf0
|
|
resourceVersion: '20408523'
|
|
uid: 30e71238-2d23-456f-9f72-f63b4a447a5e
|
|
spec:
|
|
containers:
|
|
- image: nginx:1.27
|
|
imagePullPolicy: IfNotPresent
|
|
name: nginx
|
|
ports:
|
|
- containerPort: 80
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-d852g
|
|
readOnly: true
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
nodeName: server-thinkcentre-e73
|
|
preemptionPolicy: PreemptLowerPriority
|
|
priority: 0
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
serviceAccount: default
|
|
serviceAccountName: default
|
|
terminationGracePeriodSeconds: 30
|
|
tolerations:
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/not-ready
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/unreachable
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
volumes:
|
|
- name: kube-api-access-d852g
|
|
projected:
|
|
defaultMode: 420
|
|
sources:
|
|
- serviceAccountToken:
|
|
expirationSeconds: 3607
|
|
path: token
|
|
- configMap:
|
|
items:
|
|
- key: ca.crt
|
|
path: ca.crt
|
|
name: kube-root-ca.crt
|
|
- downwardAPI:
|
|
items:
|
|
- fieldRef:
|
|
apiVersion: v1
|
|
fieldPath: metadata.namespace
|
|
path: namespace
|
|
status:
|
|
conditions:
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:31:14Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:31:07Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:31:14Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:31:14Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:31:07Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://b263caf1cf71726aa91ca0908467be294db4248957f98ecbbc769b29d2bf3207
|
|
image: docker.io/library/nginx:1.27
|
|
imageID: docker.io/library/nginx@sha256:6784fb0834aa7dbbe12e3d7471e69c290df3e6ba810dc38b34ae33d3c1c05f7d
|
|
lastState: {}
|
|
name: nginx
|
|
ready: true
|
|
restartCount: 0
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-10-27T21:31:13Z'
|
|
volumeMounts:
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-d852g
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
phase: Running
|
|
podIP: 10.244.0.153
|
|
podIPs:
|
|
- ip: 10.244.0.153
|
|
qosClass: BestEffort
|
|
startTime: '2025-10-27T21:31:07Z'
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
argocd.argoproj.io/tracking-id: nginx-demo:/Service:nginx-demo/nginx-demo
|
|
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"argocd.argoproj.io/tracking-id":"nginx-demo:/Service:nginx-demo/nginx-demo"},"name":"nginx-demo","namespace":"nginx-demo"},"spec":{"ports":[{"port":80,"targetPort":80}],"selector":{"app":"nginx-demo"}}}
|
|
|
|
'
|
|
creationTimestamp: '2025-10-27T21:31:07Z'
|
|
name: nginx-demo
|
|
namespace: nginx-demo
|
|
resourceVersion: '20408487'
|
|
uid: 3e502593-4bc3-48ce-a06b-438561b21440
|
|
spec:
|
|
clusterIP: 10.97.52.37
|
|
clusterIPs:
|
|
- 10.97.52.37
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- port: 80
|
|
protocol: TCP
|
|
targetPort: 80
|
|
selector:
|
|
app: nginx-demo
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
argocd-image-updater.argoproj.io/image-list: nginx=nginx
|
|
argocd-image-updater.argoproj.io/nginx.update-strategy: latest
|
|
argocd.argoproj.io/tracking-id: nginx-demo:apps/Deployment:nginx-demo/nginx-demo
|
|
deployment.kubernetes.io/revision: '1'
|
|
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{"argocd-image-updater.argoproj.io/image-list":"nginx=nginx","argocd-image-updater.argoproj.io/nginx.update-strategy":"latest","argocd.argoproj.io/tracking-id":"nginx-demo:apps/Deployment:nginx-demo/nginx-demo"},"name":"nginx-demo","namespace":"nginx-demo"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"nginx-demo"}},"template":{"metadata":{"labels":{"app":"nginx-demo"}},"spec":{"containers":[{"image":"nginx:1.27","name":"nginx","ports":[{"containerPort":80}]}]}}}}
|
|
|
|
'
|
|
creationTimestamp: '2025-10-27T21:31:07Z'
|
|
generation: 1
|
|
name: nginx-demo
|
|
namespace: nginx-demo
|
|
resourceVersion: '20408527'
|
|
uid: b66cfbb3-d63c-4ec6-bd97-c74887e4f0ef
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: nginx-demo
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: nginx-demo
|
|
spec:
|
|
containers:
|
|
- image: nginx:1.27
|
|
imagePullPolicy: IfNotPresent
|
|
name: nginx
|
|
ports:
|
|
- containerPort: 80
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: '2025-10-27T21:31:14Z'
|
|
lastUpdateTime: '2025-10-27T21:31:14Z'
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: 'True'
|
|
type: Available
|
|
- lastTransitionTime: '2025-10-27T21:31:07Z'
|
|
lastUpdateTime: '2025-10-27T21:31:14Z'
|
|
message: ReplicaSet "nginx-demo-6748f5c784" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: 'True'
|
|
type: Progressing
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
argocd-image-updater.argoproj.io/image-list: nginx=nginx
|
|
argocd-image-updater.argoproj.io/nginx.update-strategy: latest
|
|
argocd.argoproj.io/tracking-id: nginx-demo:apps/Deployment:nginx-demo/nginx-demo
|
|
deployment.kubernetes.io/desired-replicas: '1'
|
|
deployment.kubernetes.io/max-replicas: '2'
|
|
deployment.kubernetes.io/revision: '1'
|
|
creationTimestamp: '2025-10-27T21:31:07Z'
|
|
generation: 1
|
|
labels:
|
|
app: nginx-demo
|
|
pod-template-hash: 6748f5c784
|
|
name: nginx-demo-6748f5c784
|
|
namespace: nginx-demo
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: nginx-demo
|
|
uid: b66cfbb3-d63c-4ec6-bd97-c74887e4f0ef
|
|
resourceVersion: '20408526'
|
|
uid: 64b36a88-a697-458f-94eb-a91e7b474cf0
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nginx-demo
|
|
pod-template-hash: 6748f5c784
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: nginx-demo
|
|
pod-template-hash: 6748f5c784
|
|
spec:
|
|
containers:
|
|
- image: nginx:1.27
|
|
imagePullPolicy: IfNotPresent
|
|
name: nginx
|
|
ports:
|
|
- containerPort: 80
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
status:
|
|
availableReplicas: 1
|
|
fullyLabeledReplicas: 1
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
kind: List
|
|
metadata: {}
|