305 lines
9.8 KiB
YAML
305 lines
9.8 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: '2025-05-14T10:34:08Z'
|
|
generateName: registry-6b4d69c6d4-
|
|
labels:
|
|
app: registry
|
|
pod-template-hash: 6b4d69c6d4
|
|
name: registry-6b4d69c6d4-z8c8s
|
|
namespace: registry
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: registry-6b4d69c6d4
|
|
uid: 62a3ac29-be85-4b16-8396-416dcadb94ad
|
|
resourceVersion: '20356625'
|
|
uid: 457d674b-2137-469c-b738-f29b103f9e9a
|
|
spec:
|
|
containers:
|
|
- image: registry:2
|
|
imagePullPolicy: IfNotPresent
|
|
name: registry
|
|
ports:
|
|
- containerPort: 5000
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/registry
|
|
name: registry-storage
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-wt7wr
|
|
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:
|
|
- emptyDir: {}
|
|
name: registry-storage
|
|
- name: kube-api-access-wt7wr
|
|
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-08-24T01:02:07Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-05-14T10:34:08Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-08-24T01:02:07Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-08-24T01:02:07Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-05-14T10:34:08Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://b7bf5c27c57a87976824cf4acbb9ace00df86fcafb283e4829fb10dbd58c8903
|
|
image: docker.io/library/registry:2
|
|
imageID: docker.io/library/registry@sha256:a3d8aaa63ed8681a604f1dea0aa03f100d5895b6a58ace528858a7b332415373
|
|
lastState:
|
|
terminated:
|
|
containerID: containerd://19cb806bcb7454c1c1ffb1de17f481fd5c0cf8d500b413c07076572b090e7141
|
|
exitCode: 255
|
|
finishedAt: '2025-08-24T01:01:44Z'
|
|
reason: Unknown
|
|
startedAt: '2025-08-12T14:09:39Z'
|
|
name: registry
|
|
ready: true
|
|
restartCount: 7
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-08-24T01:02:07Z'
|
|
volumeMounts:
|
|
- mountPath: /var/lib/registry
|
|
name: registry-storage
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-wt7wr
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
phase: Running
|
|
podIP: 10.244.0.43
|
|
podIPs:
|
|
- ip: 10.244.0.43
|
|
qosClass: BestEffort
|
|
startTime: '2025-05-14T10:34:08Z'
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"registry","namespace":"registry"},"spec":{"ports":[{"port":5000,"targetPort":5000}],"selector":{"app":"registry"},"type":"ClusterIP"}}
|
|
|
|
'
|
|
creationTimestamp: '2025-05-14T10:34:08Z'
|
|
name: registry
|
|
namespace: registry
|
|
resourceVersion: '1974083'
|
|
uid: ca00b8f1-81c1-4cdb-b05e-e1fe130f6e28
|
|
spec:
|
|
clusterIP: 10.97.245.197
|
|
clusterIPs:
|
|
- 10.97.245.197
|
|
externalTrafficPolicy: Cluster
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- nodePort: 30471
|
|
port: 5000
|
|
protocol: TCP
|
|
targetPort: 5000
|
|
selector:
|
|
app: registry
|
|
sessionAffinity: None
|
|
type: NodePort
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/revision: '1'
|
|
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"registry","namespace":"registry"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"registry"}},"template":{"metadata":{"labels":{"app":"registry"}},"spec":{"containers":[{"image":"registry:2","name":"registry","ports":[{"containerPort":5000}],"volumeMounts":[{"mountPath":"/var/lib/registry","name":"registry-storage"}]}],"volumes":[{"emptyDir":{},"name":"registry-storage"}]}}}}
|
|
|
|
'
|
|
creationTimestamp: '2025-05-14T10:34:08Z'
|
|
generation: 3
|
|
name: registry
|
|
namespace: registry
|
|
resourceVersion: '6373430'
|
|
uid: 4dbb6e6b-41b4-4f8d-955e-8c8e0e6a1c73
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: registry
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: registry
|
|
spec:
|
|
containers:
|
|
- image: registry:2
|
|
imagePullPolicy: IfNotPresent
|
|
name: registry
|
|
ports:
|
|
- containerPort: 5000
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/registry
|
|
name: registry-storage
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: registry-storage
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: '2025-05-14T10:34:08Z'
|
|
lastUpdateTime: '2025-05-14T10:34:12Z'
|
|
message: ReplicaSet "registry-6b4d69c6d4" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: 'True'
|
|
type: Progressing
|
|
- lastTransitionTime: '2025-06-17T12:39:28Z'
|
|
lastUpdateTime: '2025-06-17T12:39:28Z'
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: 'True'
|
|
type: Available
|
|
observedGeneration: 3
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: '1'
|
|
deployment.kubernetes.io/max-replicas: '2'
|
|
deployment.kubernetes.io/revision: '1'
|
|
creationTimestamp: '2025-05-14T10:34:08Z'
|
|
generation: 3
|
|
labels:
|
|
app: registry
|
|
pod-template-hash: 6b4d69c6d4
|
|
name: registry-6b4d69c6d4
|
|
namespace: registry
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: registry
|
|
uid: 4dbb6e6b-41b4-4f8d-955e-8c8e0e6a1c73
|
|
resourceVersion: '6373428'
|
|
uid: 62a3ac29-be85-4b16-8396-416dcadb94ad
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: registry
|
|
pod-template-hash: 6b4d69c6d4
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: registry
|
|
pod-template-hash: 6b4d69c6d4
|
|
spec:
|
|
containers:
|
|
- image: registry:2
|
|
imagePullPolicy: IfNotPresent
|
|
name: registry
|
|
ports:
|
|
- containerPort: 5000
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/registry
|
|
name: registry-storage
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: registry-storage
|
|
status:
|
|
availableReplicas: 1
|
|
fullyLabeledReplicas: 1
|
|
observedGeneration: 3
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
kind: List
|
|
metadata: {}
|