mirror of
https://github.com/philippemerle/KubeDiagrams.git
synced 2026-05-06 09:06:33 +00:00
1878 lines
56 KiB
YAML
1878 lines
56 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
generateName: wordpress-7b844d488d-
|
|
labels:
|
|
app: wordpress
|
|
pod-template-hash: 7b844d488d
|
|
tier: frontend
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:generateName: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:pod-template-hash: {}
|
|
f:tier: {}
|
|
f:ownerReferences:
|
|
.: {}
|
|
k:{"uid":"63d7b12f-c7db-4963-97f8-16278bb3d99f"}: {}
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"wordpress"}:
|
|
.: {}
|
|
f:env:
|
|
.: {}
|
|
k:{"name":"WORDPRESS_DB_HOST"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
k:{"name":"WORDPRESS_DB_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"WORDPRESS_DB_USER"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
f:image: {}
|
|
f:imagePullPolicy: {}
|
|
f:name: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"containerPort":80,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
f:resources: {}
|
|
f:terminationMessagePath: {}
|
|
f:terminationMessagePolicy: {}
|
|
f:volumeMounts:
|
|
.: {}
|
|
k:{"mountPath":"/var/www/html"}:
|
|
.: {}
|
|
f:mountPath: {}
|
|
f:name: {}
|
|
f:dnsPolicy: {}
|
|
f:enableServiceLinks: {}
|
|
f:restartPolicy: {}
|
|
f:schedulerName: {}
|
|
f:securityContext: {}
|
|
f:terminationGracePeriodSeconds: {}
|
|
f:volumes:
|
|
.: {}
|
|
k:{"name":"wordpress-persistent-storage"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:persistentVolumeClaim:
|
|
.: {}
|
|
f:claimName: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:conditions:
|
|
.: {}
|
|
k:{"type":"PodScheduled"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:message: {}
|
|
f:reason: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
manager: kube-scheduler
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:conditions:
|
|
k:{"type":"ContainersReady"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
k:{"type":"Initialized"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
k:{"type":"Ready"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
f:containerStatuses: {}
|
|
f:hostIP: {}
|
|
f:phase: {}
|
|
f:podIP: {}
|
|
f:podIPs:
|
|
.: {}
|
|
k:{"ip":"10.244.0.12"}:
|
|
.: {}
|
|
f:ip: {}
|
|
f:startTime: {}
|
|
manager: kubelet
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:10Z"
|
|
name: wordpress-7b844d488d-rgw77
|
|
namespace: default
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: wordpress-7b844d488d
|
|
uid: 63d7b12f-c7db-4963-97f8-16278bb3d99f
|
|
resourceVersion: "5259"
|
|
uid: 00ccb2cb-ecca-4bfd-a629-b48c89bb1a11
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: WORDPRESS_DB_HOST
|
|
value: wordpress-mysql
|
|
- name: WORDPRESS_DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
- name: WORDPRESS_DB_USER
|
|
value: wordpress
|
|
image: wordpress:6.2.1-apache
|
|
imagePullPolicy: IfNotPresent
|
|
name: wordpress
|
|
ports:
|
|
- containerPort: 80
|
|
name: wordpress
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/www/html
|
|
name: wordpress-persistent-storage
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-5blcd
|
|
readOnly: true
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
nodeName: minikube
|
|
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: wordpress-persistent-storage
|
|
persistentVolumeClaim:
|
|
claimName: wp-pv-claim
|
|
- name: kube-api-access-5blcd
|
|
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: "2024-12-28T13:30:08Z"
|
|
status: "True"
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: "2024-12-28T13:30:10Z"
|
|
status: "True"
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: "2024-12-28T13:30:10Z"
|
|
status: "True"
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: "2024-12-28T13:30:08Z"
|
|
status: "True"
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: docker://e05eb98efdb559d52b708f77ed5ecee84e70f9a82164fad52b74768c9b9932f1
|
|
image: wordpress:6.2.1-apache
|
|
imageID: docker-pullable://wordpress@sha256:f3b8d54fe9b80e88255121a46933ca1961fb9f3f39e6981a668cdb7f019a5bbd
|
|
lastState: {}
|
|
name: wordpress
|
|
ready: true
|
|
restartCount: 0
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: "2024-12-28T13:30:09Z"
|
|
hostIP: 192.168.64.8
|
|
phase: Running
|
|
podIP: 10.244.0.12
|
|
podIPs:
|
|
- ip: 10.244.0.12
|
|
qosClass: BestEffort
|
|
startTime: "2024-12-28T13:30:08Z"
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
generateName: wordpress-mysql-79898f689-
|
|
labels:
|
|
app: wordpress
|
|
pod-template-hash: 79898f689
|
|
tier: mysql
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:generateName: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:pod-template-hash: {}
|
|
f:tier: {}
|
|
f:ownerReferences:
|
|
.: {}
|
|
k:{"uid":"781911d1-c1c8-45a2-9987-ee68a25acdfa"}: {}
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"mysql"}:
|
|
.: {}
|
|
f:env:
|
|
.: {}
|
|
k:{"name":"MYSQL_DATABASE"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
k:{"name":"MYSQL_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"MYSQL_ROOT_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"MYSQL_USER"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
f:image: {}
|
|
f:imagePullPolicy: {}
|
|
f:name: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"containerPort":3306,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
f:resources: {}
|
|
f:terminationMessagePath: {}
|
|
f:terminationMessagePolicy: {}
|
|
f:volumeMounts:
|
|
.: {}
|
|
k:{"mountPath":"/var/lib/mysql"}:
|
|
.: {}
|
|
f:mountPath: {}
|
|
f:name: {}
|
|
f:dnsPolicy: {}
|
|
f:enableServiceLinks: {}
|
|
f:restartPolicy: {}
|
|
f:schedulerName: {}
|
|
f:securityContext: {}
|
|
f:terminationGracePeriodSeconds: {}
|
|
f:volumes:
|
|
.: {}
|
|
k:{"name":"mysql-persistent-storage"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:persistentVolumeClaim:
|
|
.: {}
|
|
f:claimName: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:conditions:
|
|
k:{"type":"ContainersReady"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
k:{"type":"Initialized"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
k:{"type":"Ready"}:
|
|
.: {}
|
|
f:lastProbeTime: {}
|
|
f:lastTransitionTime: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
f:containerStatuses: {}
|
|
f:hostIP: {}
|
|
f:phase: {}
|
|
f:podIP: {}
|
|
f:podIPs:
|
|
.: {}
|
|
k:{"ip":"10.244.0.11"}:
|
|
.: {}
|
|
f:ip: {}
|
|
f:startTime: {}
|
|
manager: kubelet
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:08Z"
|
|
name: wordpress-mysql-79898f689-thx4t
|
|
namespace: default
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: wordpress-mysql-79898f689
|
|
uid: 781911d1-c1c8-45a2-9987-ee68a25acdfa
|
|
resourceVersion: "5249"
|
|
uid: 431ebd0a-4911-4940-a07b-971ae7e5bc48
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
- name: MYSQL_DATABASE
|
|
value: wordpress
|
|
- name: MYSQL_USER
|
|
value: wordpress
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
image: mysql:8.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: mysql
|
|
ports:
|
|
- containerPort: 3306
|
|
name: mysql
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/mysql
|
|
name: mysql-persistent-storage
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-xsw55
|
|
readOnly: true
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
nodeName: minikube
|
|
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: mysql-persistent-storage
|
|
persistentVolumeClaim:
|
|
claimName: mysql-pv-claim
|
|
- name: kube-api-access-xsw55
|
|
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: "2024-12-28T13:30:06Z"
|
|
status: "True"
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: "2024-12-28T13:30:08Z"
|
|
status: "True"
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: "2024-12-28T13:30:08Z"
|
|
status: "True"
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: "2024-12-28T13:30:06Z"
|
|
status: "True"
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: docker://cfd5594ab3aee4fe6fea1dd76ef69b2a3350496a9c3bc386c3b8e7292055b4fd
|
|
image: mysql:8.0
|
|
imageID: docker-pullable://mysql@sha256:d58ac93387f644e4e040c636b8f50494e78e5afc27ca0a87348b2f577da2b7ff
|
|
lastState: {}
|
|
name: mysql
|
|
ready: true
|
|
restartCount: 0
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: "2024-12-28T13:30:07Z"
|
|
hostIP: 192.168.64.8
|
|
phase: Running
|
|
podIP: 10.244.0.11
|
|
podIPs:
|
|
- ip: 10.244.0.11
|
|
qosClass: BestEffort
|
|
startTime: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
creationTimestamp: "2024-12-28T11:58:15Z"
|
|
labels:
|
|
component: apiserver
|
|
provider: kubernetes
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:labels:
|
|
.: {}
|
|
f:component: {}
|
|
f:provider: {}
|
|
f:spec:
|
|
f:clusterIP: {}
|
|
f:internalTrafficPolicy: {}
|
|
f:ipFamilyPolicy: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"port":443,"protocol":"TCP"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:port: {}
|
|
f:protocol: {}
|
|
f:targetPort: {}
|
|
f:sessionAffinity: {}
|
|
f:type: {}
|
|
manager: kube-apiserver
|
|
operation: Update
|
|
time: "2024-12-28T11:58:15Z"
|
|
name: kubernetes
|
|
namespace: default
|
|
resourceVersion: "194"
|
|
uid: e7b02490-d9cb-4d61-b519-521afea036c6
|
|
spec:
|
|
clusterIP: 10.96.0.1
|
|
clusterIPs:
|
|
- 10.96.0.1
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: https
|
|
port: 443
|
|
protocol: TCP
|
|
targetPort: 8443
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"wordpress"},"name":"wordpress","namespace":"default"},"spec":{"ports":[{"port":80}],"selector":{"app":"wordpress","tier":"frontend"},"type":"LoadBalancer"}}
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:spec:
|
|
f:allocateLoadBalancerNodePorts: {}
|
|
f:externalTrafficPolicy: {}
|
|
f:internalTrafficPolicy: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"port":80,"protocol":"TCP"}:
|
|
.: {}
|
|
f:port: {}
|
|
f:protocol: {}
|
|
f:targetPort: {}
|
|
f:selector: {}
|
|
f:sessionAffinity: {}
|
|
f:type: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: wordpress
|
|
namespace: default
|
|
resourceVersion: "5217"
|
|
uid: 4a23a795-cf43-4bbe-9588-6298d6a26a58
|
|
spec:
|
|
allocateLoadBalancerNodePorts: true
|
|
clusterIP: 10.108.31.222
|
|
clusterIPs:
|
|
- 10.108.31.222
|
|
externalTrafficPolicy: Cluster
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- nodePort: 32227
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 80
|
|
selector:
|
|
app: wordpress
|
|
tier: frontend
|
|
sessionAffinity: None
|
|
type: LoadBalancer
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"wordpress"},"name":"wordpress-mysql","namespace":"default"},"spec":{"clusterIP":"None","ports":[{"port":3306}],"selector":{"app":"wordpress","tier":"mysql"}}}
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:spec:
|
|
f:clusterIP: {}
|
|
f:internalTrafficPolicy: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"port":3306,"protocol":"TCP"}:
|
|
.: {}
|
|
f:port: {}
|
|
f:protocol: {}
|
|
f:targetPort: {}
|
|
f:selector: {}
|
|
f:sessionAffinity: {}
|
|
f:type: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: wordpress-mysql
|
|
namespace: default
|
|
resourceVersion: "5190"
|
|
uid: cf6bb0c6-a872-4e21-8ee5-3e64eb80f50d
|
|
spec:
|
|
clusterIP: None
|
|
clusterIPs:
|
|
- None
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- port: 3306
|
|
protocol: TCP
|
|
targetPort: 3306
|
|
selector:
|
|
app: wordpress
|
|
tier: mysql
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
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":{},"labels":{"app":"wordpress"},"name":"wordpress","namespace":"default"},"spec":{"selector":{"matchLabels":{"app":"wordpress","tier":"frontend"}},"strategy":{"type":"Recreate"},"template":{"metadata":{"labels":{"app":"wordpress","tier":"frontend"}},"spec":{"containers":[{"env":[{"name":"WORDPRESS_DB_HOST","value":"wordpress-mysql"},{"name":"WORDPRESS_DB_PASSWORD","valueFrom":{"secretKeyRef":{"key":"password","name":"mysql-pass"}}},{"name":"WORDPRESS_DB_USER","value":"wordpress"}],"image":"wordpress:6.2.1-apache","name":"wordpress","ports":[{"containerPort":80,"name":"wordpress"}],"volumeMounts":[{"mountPath":"/var/www/html","name":"wordpress-persistent-storage"}]}],"volumes":[{"name":"wordpress-persistent-storage","persistentVolumeClaim":{"claimName":"wp-pv-claim"}}]}}}}
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
generation: 1
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:spec:
|
|
f:progressDeadlineSeconds: {}
|
|
f:replicas: {}
|
|
f:revisionHistoryLimit: {}
|
|
f:selector: {}
|
|
f:strategy:
|
|
f:type: {}
|
|
f:template:
|
|
f:metadata:
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:tier: {}
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"wordpress"}:
|
|
.: {}
|
|
f:env:
|
|
.: {}
|
|
k:{"name":"WORDPRESS_DB_HOST"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
k:{"name":"WORDPRESS_DB_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"WORDPRESS_DB_USER"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
f:image: {}
|
|
f:imagePullPolicy: {}
|
|
f:name: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"containerPort":80,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
f:resources: {}
|
|
f:terminationMessagePath: {}
|
|
f:terminationMessagePolicy: {}
|
|
f:volumeMounts:
|
|
.: {}
|
|
k:{"mountPath":"/var/www/html"}:
|
|
.: {}
|
|
f:mountPath: {}
|
|
f:name: {}
|
|
f:dnsPolicy: {}
|
|
f:restartPolicy: {}
|
|
f:schedulerName: {}
|
|
f:securityContext: {}
|
|
f:terminationGracePeriodSeconds: {}
|
|
f:volumes:
|
|
.: {}
|
|
k:{"name":"wordpress-persistent-storage"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:persistentVolumeClaim:
|
|
.: {}
|
|
f:claimName: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
f:deployment.kubernetes.io/revision: {}
|
|
f:status:
|
|
f:availableReplicas: {}
|
|
f:conditions:
|
|
.: {}
|
|
k:{"type":"Available"}:
|
|
.: {}
|
|
f:lastTransitionTime: {}
|
|
f:lastUpdateTime: {}
|
|
f:message: {}
|
|
f:reason: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
k:{"type":"Progressing"}:
|
|
.: {}
|
|
f:lastTransitionTime: {}
|
|
f:lastUpdateTime: {}
|
|
f:message: {}
|
|
f:reason: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
f:observedGeneration: {}
|
|
f:readyReplicas: {}
|
|
f:replicas: {}
|
|
f:updatedReplicas: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:10Z"
|
|
name: wordpress
|
|
namespace: default
|
|
resourceVersion: "5263"
|
|
uid: 90d63db9-6183-46e9-827e-2da9c8fdf814
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: wordpress
|
|
tier: frontend
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wordpress
|
|
tier: frontend
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: WORDPRESS_DB_HOST
|
|
value: wordpress-mysql
|
|
- name: WORDPRESS_DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
- name: WORDPRESS_DB_USER
|
|
value: wordpress
|
|
image: wordpress:6.2.1-apache
|
|
imagePullPolicy: IfNotPresent
|
|
name: wordpress
|
|
ports:
|
|
- containerPort: 80
|
|
name: wordpress
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/www/html
|
|
name: wordpress-persistent-storage
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: wordpress-persistent-storage
|
|
persistentVolumeClaim:
|
|
claimName: wp-pv-claim
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: "2024-12-28T13:30:10Z"
|
|
lastUpdateTime: "2024-12-28T13:30:10Z"
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: "True"
|
|
type: Available
|
|
- lastTransitionTime: "2024-12-28T13:30:06Z"
|
|
lastUpdateTime: "2024-12-28T13:30:10Z"
|
|
message: ReplicaSet "wordpress-7b844d488d" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: "True"
|
|
type: Progressing
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|
|
- 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":{},"labels":{"app":"wordpress"},"name":"wordpress-mysql","namespace":"default"},"spec":{"selector":{"matchLabels":{"app":"wordpress","tier":"mysql"}},"strategy":{"type":"Recreate"},"template":{"metadata":{"labels":{"app":"wordpress","tier":"mysql"}},"spec":{"containers":[{"env":[{"name":"MYSQL_ROOT_PASSWORD","valueFrom":{"secretKeyRef":{"key":"password","name":"mysql-pass"}}},{"name":"MYSQL_DATABASE","value":"wordpress"},{"name":"MYSQL_USER","value":"wordpress"},{"name":"MYSQL_PASSWORD","valueFrom":{"secretKeyRef":{"key":"password","name":"mysql-pass"}}}],"image":"mysql:8.0","name":"mysql","ports":[{"containerPort":3306,"name":"mysql"}],"volumeMounts":[{"mountPath":"/var/lib/mysql","name":"mysql-persistent-storage"}]}],"volumes":[{"name":"mysql-persistent-storage","persistentVolumeClaim":{"claimName":"mysql-pv-claim"}}]}}}}
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
generation: 1
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:spec:
|
|
f:progressDeadlineSeconds: {}
|
|
f:replicas: {}
|
|
f:revisionHistoryLimit: {}
|
|
f:selector: {}
|
|
f:strategy:
|
|
f:type: {}
|
|
f:template:
|
|
f:metadata:
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:tier: {}
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"mysql"}:
|
|
.: {}
|
|
f:env:
|
|
.: {}
|
|
k:{"name":"MYSQL_DATABASE"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
k:{"name":"MYSQL_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"MYSQL_ROOT_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"MYSQL_USER"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
f:image: {}
|
|
f:imagePullPolicy: {}
|
|
f:name: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"containerPort":3306,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
f:resources: {}
|
|
f:terminationMessagePath: {}
|
|
f:terminationMessagePolicy: {}
|
|
f:volumeMounts:
|
|
.: {}
|
|
k:{"mountPath":"/var/lib/mysql"}:
|
|
.: {}
|
|
f:mountPath: {}
|
|
f:name: {}
|
|
f:dnsPolicy: {}
|
|
f:restartPolicy: {}
|
|
f:schedulerName: {}
|
|
f:securityContext: {}
|
|
f:terminationGracePeriodSeconds: {}
|
|
f:volumes:
|
|
.: {}
|
|
k:{"name":"mysql-persistent-storage"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:persistentVolumeClaim:
|
|
.: {}
|
|
f:claimName: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
f:deployment.kubernetes.io/revision: {}
|
|
f:status:
|
|
f:availableReplicas: {}
|
|
f:conditions:
|
|
.: {}
|
|
k:{"type":"Available"}:
|
|
.: {}
|
|
f:lastTransitionTime: {}
|
|
f:lastUpdateTime: {}
|
|
f:message: {}
|
|
f:reason: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
k:{"type":"Progressing"}:
|
|
.: {}
|
|
f:lastTransitionTime: {}
|
|
f:lastUpdateTime: {}
|
|
f:message: {}
|
|
f:reason: {}
|
|
f:status: {}
|
|
f:type: {}
|
|
f:observedGeneration: {}
|
|
f:readyReplicas: {}
|
|
f:replicas: {}
|
|
f:updatedReplicas: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:08Z"
|
|
name: wordpress-mysql
|
|
namespace: default
|
|
resourceVersion: "5253"
|
|
uid: 46ba9f09-3fac-4bbb-99e8-a5a2a7ba9d23
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: wordpress
|
|
tier: mysql
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wordpress
|
|
tier: mysql
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
- name: MYSQL_DATABASE
|
|
value: wordpress
|
|
- name: MYSQL_USER
|
|
value: wordpress
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
image: mysql:8.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: mysql
|
|
ports:
|
|
- containerPort: 3306
|
|
name: mysql
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/mysql
|
|
name: mysql-persistent-storage
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: mysql-persistent-storage
|
|
persistentVolumeClaim:
|
|
claimName: mysql-pv-claim
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: "2024-12-28T13:30:08Z"
|
|
lastUpdateTime: "2024-12-28T13:30:08Z"
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: "True"
|
|
type: Available
|
|
- lastTransitionTime: "2024-12-28T13:30:06Z"
|
|
lastUpdateTime: "2024-12-28T13:30:08Z"
|
|
message: ReplicaSet "wordpress-mysql-79898f689" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: "True"
|
|
type: Progressing
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: "1"
|
|
deployment.kubernetes.io/max-replicas: "1"
|
|
deployment.kubernetes.io/revision: "1"
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
generation: 1
|
|
labels:
|
|
app: wordpress
|
|
pod-template-hash: 7b844d488d
|
|
tier: frontend
|
|
managedFields:
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:deployment.kubernetes.io/desired-replicas: {}
|
|
f:deployment.kubernetes.io/max-replicas: {}
|
|
f:deployment.kubernetes.io/revision: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:pod-template-hash: {}
|
|
f:tier: {}
|
|
f:ownerReferences:
|
|
.: {}
|
|
k:{"uid":"90d63db9-6183-46e9-827e-2da9c8fdf814"}: {}
|
|
f:spec:
|
|
f:replicas: {}
|
|
f:selector: {}
|
|
f:template:
|
|
f:metadata:
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:pod-template-hash: {}
|
|
f:tier: {}
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"wordpress"}:
|
|
.: {}
|
|
f:env:
|
|
.: {}
|
|
k:{"name":"WORDPRESS_DB_HOST"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
k:{"name":"WORDPRESS_DB_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"WORDPRESS_DB_USER"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
f:image: {}
|
|
f:imagePullPolicy: {}
|
|
f:name: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"containerPort":80,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
f:resources: {}
|
|
f:terminationMessagePath: {}
|
|
f:terminationMessagePolicy: {}
|
|
f:volumeMounts:
|
|
.: {}
|
|
k:{"mountPath":"/var/www/html"}:
|
|
.: {}
|
|
f:mountPath: {}
|
|
f:name: {}
|
|
f:dnsPolicy: {}
|
|
f:restartPolicy: {}
|
|
f:schedulerName: {}
|
|
f:securityContext: {}
|
|
f:terminationGracePeriodSeconds: {}
|
|
f:volumes:
|
|
.: {}
|
|
k:{"name":"wordpress-persistent-storage"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:persistentVolumeClaim:
|
|
.: {}
|
|
f:claimName: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:availableReplicas: {}
|
|
f:fullyLabeledReplicas: {}
|
|
f:observedGeneration: {}
|
|
f:readyReplicas: {}
|
|
f:replicas: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:10Z"
|
|
name: wordpress-7b844d488d
|
|
namespace: default
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: wordpress
|
|
uid: 90d63db9-6183-46e9-827e-2da9c8fdf814
|
|
resourceVersion: "5262"
|
|
uid: 63d7b12f-c7db-4963-97f8-16278bb3d99f
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: wordpress
|
|
pod-template-hash: 7b844d488d
|
|
tier: frontend
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wordpress
|
|
pod-template-hash: 7b844d488d
|
|
tier: frontend
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: WORDPRESS_DB_HOST
|
|
value: wordpress-mysql
|
|
- name: WORDPRESS_DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
- name: WORDPRESS_DB_USER
|
|
value: wordpress
|
|
image: wordpress:6.2.1-apache
|
|
imagePullPolicy: IfNotPresent
|
|
name: wordpress
|
|
ports:
|
|
- containerPort: 80
|
|
name: wordpress
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/www/html
|
|
name: wordpress-persistent-storage
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: wordpress-persistent-storage
|
|
persistentVolumeClaim:
|
|
claimName: wp-pv-claim
|
|
status:
|
|
availableReplicas: 1
|
|
fullyLabeledReplicas: 1
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: "1"
|
|
deployment.kubernetes.io/max-replicas: "1"
|
|
deployment.kubernetes.io/revision: "1"
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
generation: 1
|
|
labels:
|
|
app: wordpress
|
|
pod-template-hash: 79898f689
|
|
tier: mysql
|
|
managedFields:
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:deployment.kubernetes.io/desired-replicas: {}
|
|
f:deployment.kubernetes.io/max-replicas: {}
|
|
f:deployment.kubernetes.io/revision: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:pod-template-hash: {}
|
|
f:tier: {}
|
|
f:ownerReferences:
|
|
.: {}
|
|
k:{"uid":"46ba9f09-3fac-4bbb-99e8-a5a2a7ba9d23"}: {}
|
|
f:spec:
|
|
f:replicas: {}
|
|
f:selector: {}
|
|
f:template:
|
|
f:metadata:
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:pod-template-hash: {}
|
|
f:tier: {}
|
|
f:spec:
|
|
f:containers:
|
|
k:{"name":"mysql"}:
|
|
.: {}
|
|
f:env:
|
|
.: {}
|
|
k:{"name":"MYSQL_DATABASE"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
k:{"name":"MYSQL_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"MYSQL_ROOT_PASSWORD"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:valueFrom:
|
|
.: {}
|
|
f:secretKeyRef: {}
|
|
k:{"name":"MYSQL_USER"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:value: {}
|
|
f:image: {}
|
|
f:imagePullPolicy: {}
|
|
f:name: {}
|
|
f:ports:
|
|
.: {}
|
|
k:{"containerPort":3306,"protocol":"TCP"}:
|
|
.: {}
|
|
f:containerPort: {}
|
|
f:name: {}
|
|
f:protocol: {}
|
|
f:resources: {}
|
|
f:terminationMessagePath: {}
|
|
f:terminationMessagePolicy: {}
|
|
f:volumeMounts:
|
|
.: {}
|
|
k:{"mountPath":"/var/lib/mysql"}:
|
|
.: {}
|
|
f:mountPath: {}
|
|
f:name: {}
|
|
f:dnsPolicy: {}
|
|
f:restartPolicy: {}
|
|
f:schedulerName: {}
|
|
f:securityContext: {}
|
|
f:terminationGracePeriodSeconds: {}
|
|
f:volumes:
|
|
.: {}
|
|
k:{"name":"mysql-persistent-storage"}:
|
|
.: {}
|
|
f:name: {}
|
|
f:persistentVolumeClaim:
|
|
.: {}
|
|
f:claimName: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: apps/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:availableReplicas: {}
|
|
f:fullyLabeledReplicas: {}
|
|
f:observedGeneration: {}
|
|
f:readyReplicas: {}
|
|
f:replicas: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:08Z"
|
|
name: wordpress-mysql-79898f689
|
|
namespace: default
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: wordpress-mysql
|
|
uid: 46ba9f09-3fac-4bbb-99e8-a5a2a7ba9d23
|
|
resourceVersion: "5251"
|
|
uid: 781911d1-c1c8-45a2-9987-ee68a25acdfa
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: wordpress
|
|
pod-template-hash: 79898f689
|
|
tier: mysql
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wordpress
|
|
pod-template-hash: 79898f689
|
|
tier: mysql
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
- name: MYSQL_DATABASE
|
|
value: wordpress
|
|
- name: MYSQL_USER
|
|
value: wordpress
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: mysql-pass
|
|
image: mysql:8.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: mysql
|
|
ports:
|
|
- containerPort: 3306
|
|
name: mysql
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/mysql
|
|
name: mysql-persistent-storage
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: mysql-persistent-storage
|
|
persistentVolumeClaim:
|
|
claimName: mysql-pv-claim
|
|
status:
|
|
availableReplicas: 1
|
|
fullyLabeledReplicas: 1
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
- apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
creationTimestamp: "2024-12-28T11:58:29Z"
|
|
name: default
|
|
namespace: default
|
|
resourceVersion: "338"
|
|
uid: 9ef8b4d1-e761-4798-aee1-7acd281c9e02
|
|
- apiVersion: v1
|
|
data:
|
|
ca.crt: |
|
|
-----BEGIN CERTIFICATE-----
|
|
MIIDBjCCAe6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwptaW5p
|
|
a3ViZUNBMB4XDTIzMDIwNDA3NTMzNloXDTMzMDIwMjA3NTMzNlowFTETMBEGA1UE
|
|
AxMKbWluaWt1YmVDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM3l
|
|
n8dtEkPntkBRSF7NBlwCbwI3BRxHL5LUSROCfr/tFyuJ8XiZa8yv/DbiCKDFWeBr
|
|
lJwWOJ3HjrjQc+nBIjbG3spMaOr9Kgut7UKyYEeIZxBSz5GBd7rlRuBwOkRqEXtS
|
|
/H/TxVzgrugfKbI+ALtzbtHTzKKLDGaYjAC5t2jQ/PtzQ3s4cB8Z/fk03n9woBC8
|
|
6makLFQXXPj65y09hb/slxIbi4hyRe4hdQYnxeY+PKmuEZIaed5gFrN/EDDtrtwn
|
|
bcPY3Pwc0/b1+S44TcB+eWMq28zPLeO/Kjziw8q+1wldKWIXJJSUAUU5dBOtlRol
|
|
yfr7t0ibsft1OTVCisECAwEAAaNhMF8wDgYDVR0PAQH/BAQDAgKkMB0GA1UdJQQW
|
|
MBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
|
|
BBS1Nak8XxDdSOq3r1qdAXNmQRttCzANBgkqhkiG9w0BAQsFAAOCAQEAxrabqVKs
|
|
u9hJTiUNhLEQTOVR7gMuonymonQ73488pQHKKIyAM8It+ClgP+YdZtRi+uxGgQ3m
|
|
kwbJbf1ybysY++tIKbUXfsal/wcrt2hbqk6HJxca/YaYL7qja6N/BElct07RQhLf
|
|
DpMtfqokyBh/yOlobBkrrA+RylGVi1ebWgFM7xtzmuPpeIYurNIcXGpp0d21RuRz
|
|
0Oxd9g/HHAzZihXbHfPeJJdiQBtPvQ83TZ+T2E0MCkLDUC1okRztR8R5YPG6nZli
|
|
zVRBh41095iSNFKJhFQyu5Qzme98wdBBQGoxcMOoXk6ioeDQUywHaJMjdCANqubf
|
|
I700WTtGVr503w==
|
|
-----END CERTIFICATE-----
|
|
kind: ConfigMap
|
|
metadata:
|
|
annotations:
|
|
kubernetes.io/description: Contains a CA bundle that can be used to verify the
|
|
kube-apiserver when using internal endpoints such as the internal service
|
|
IP or kubernetes.default.svc. No other usage is guaranteed across distributions
|
|
of Kubernetes clusters.
|
|
creationTimestamp: "2024-12-28T11:58:28Z"
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:data:
|
|
.: {}
|
|
f:ca.crt: {}
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubernetes.io/description: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T11:58:28Z"
|
|
name: kube-root-ca.crt
|
|
namespace: default
|
|
resourceVersion: "309"
|
|
uid: d5b71f76-8dc9-4481-8893-e8a55ae50538
|
|
- apiVersion: v1
|
|
data:
|
|
password: WU9VUl9QQVNTV09SRA==
|
|
kind: Secret
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"apiVersion":"v1","data":{"password":"WU9VUl9QQVNTV09SRA=="},"kind":"Secret","metadata":{"annotations":{},"labels":{"app":"wordpress"},"name":"mysql-pass","namespace":"default"},"type":"Opaque"}
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:data:
|
|
.: {}
|
|
f:password: {}
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:type: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: mysql-pass
|
|
namespace: default
|
|
resourceVersion: "5189"
|
|
uid: 5d387c13-298b-45b8-9f55-d966e139e1e6
|
|
type: Opaque
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"labels":{"app":"wordpress"},"name":"mysql-pv-claim","namespace":"default"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"512M"}}}}
|
|
pv.kubernetes.io/bind-completed: "yes"
|
|
pv.kubernetes.io/bound-by-controller: "yes"
|
|
volume.beta.kubernetes.io/storage-provisioner: k8s.io/minikube-hostpath
|
|
volume.kubernetes.io/storage-provisioner: k8s.io/minikube-hostpath
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
finalizers:
|
|
- kubernetes.io/pvc-protection
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
f:pv.kubernetes.io/bind-completed: {}
|
|
f:pv.kubernetes.io/bound-by-controller: {}
|
|
f:volume.beta.kubernetes.io/storage-provisioner: {}
|
|
f:volume.kubernetes.io/storage-provisioner: {}
|
|
f:spec:
|
|
f:volumeName: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:accessModes: {}
|
|
f:capacity:
|
|
.: {}
|
|
f:storage: {}
|
|
f:phase: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:spec:
|
|
f:accessModes: {}
|
|
f:resources:
|
|
f:requests:
|
|
.: {}
|
|
f:storage: {}
|
|
f:volumeMode: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: mysql-pv-claim
|
|
namespace: default
|
|
resourceVersion: "5208"
|
|
uid: aa2ef8a8-4fff-4d85-82b2-a3db3cc347be
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 512M
|
|
storageClassName: standard
|
|
volumeMode: Filesystem
|
|
volumeName: pvc-aa2ef8a8-4fff-4d85-82b2-a3db3cc347be
|
|
status:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 512M
|
|
phase: Bound
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"labels":{"app":"wordpress"},"name":"wp-pv-claim","namespace":"default"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"512M"}}}}
|
|
pv.kubernetes.io/bind-completed: "yes"
|
|
pv.kubernetes.io/bound-by-controller: "yes"
|
|
volume.beta.kubernetes.io/storage-provisioner: k8s.io/minikube-hostpath
|
|
volume.kubernetes.io/storage-provisioner: k8s.io/minikube-hostpath
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
finalizers:
|
|
- kubernetes.io/pvc-protection
|
|
labels:
|
|
app: wordpress
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
f:pv.kubernetes.io/bind-completed: {}
|
|
f:pv.kubernetes.io/bound-by-controller: {}
|
|
f:volume.beta.kubernetes.io/storage-provisioner: {}
|
|
f:volume.kubernetes.io/storage-provisioner: {}
|
|
f:spec:
|
|
f:volumeName: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:accessModes: {}
|
|
f:capacity:
|
|
.: {}
|
|
f:storage: {}
|
|
f:phase: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:labels:
|
|
.: {}
|
|
f:app: {}
|
|
f:spec:
|
|
f:accessModes: {}
|
|
f:resources:
|
|
f:requests:
|
|
.: {}
|
|
f:storage: {}
|
|
f:volumeMode: {}
|
|
manager: kubectl
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: wp-pv-claim
|
|
namespace: default
|
|
resourceVersion: "5237"
|
|
uid: 9a0b1499-2665-4c4f-9e06-3b4a6fd7b4eb
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 512M
|
|
storageClassName: standard
|
|
volumeMode: Filesystem
|
|
volumeName: pvc-9a0b1499-2665-4c4f-9e06-3b4a6fd7b4eb
|
|
status:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 512M
|
|
phase: Bound
|
|
- apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
annotations:
|
|
hostPathProvisionerIdentity: 4420ca2c-06f4-4d53-9cd0-1ad693a08495
|
|
pv.kubernetes.io/provisioned-by: k8s.io/minikube-hostpath
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
finalizers:
|
|
- kubernetes.io/pv-protection
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:phase: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:hostPathProvisionerIdentity: {}
|
|
f:pv.kubernetes.io/provisioned-by: {}
|
|
f:spec:
|
|
f:accessModes: {}
|
|
f:capacity:
|
|
.: {}
|
|
f:storage: {}
|
|
f:claimRef:
|
|
.: {}
|
|
f:apiVersion: {}
|
|
f:kind: {}
|
|
f:name: {}
|
|
f:namespace: {}
|
|
f:resourceVersion: {}
|
|
f:uid: {}
|
|
f:hostPath:
|
|
.: {}
|
|
f:path: {}
|
|
f:type: {}
|
|
f:persistentVolumeReclaimPolicy: {}
|
|
f:storageClassName: {}
|
|
f:volumeMode: {}
|
|
manager: storage-provisioner
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: pvc-9a0b1499-2665-4c4f-9e06-3b4a6fd7b4eb
|
|
resourceVersion: "5228"
|
|
uid: 8f535560-96c6-4991-8fbc-a24bce5d8bf8
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 512M
|
|
claimRef:
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
name: wp-pv-claim
|
|
namespace: default
|
|
resourceVersion: "5221"
|
|
uid: 9a0b1499-2665-4c4f-9e06-3b4a6fd7b4eb
|
|
hostPath:
|
|
path: /tmp/hostpath-provisioner/default/wp-pv-claim
|
|
type: ""
|
|
persistentVolumeReclaimPolicy: Delete
|
|
storageClassName: standard
|
|
volumeMode: Filesystem
|
|
status:
|
|
phase: Bound
|
|
- apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
annotations:
|
|
hostPathProvisionerIdentity: 4420ca2c-06f4-4d53-9cd0-1ad693a08495
|
|
pv.kubernetes.io/provisioned-by: k8s.io/minikube-hostpath
|
|
creationTimestamp: "2024-12-28T13:30:06Z"
|
|
finalizers:
|
|
- kubernetes.io/pv-protection
|
|
managedFields:
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:status:
|
|
f:phase: {}
|
|
manager: kube-controller-manager
|
|
operation: Update
|
|
subresource: status
|
|
time: "2024-12-28T13:30:06Z"
|
|
- apiVersion: v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:hostPathProvisionerIdentity: {}
|
|
f:pv.kubernetes.io/provisioned-by: {}
|
|
f:spec:
|
|
f:accessModes: {}
|
|
f:capacity:
|
|
.: {}
|
|
f:storage: {}
|
|
f:claimRef:
|
|
.: {}
|
|
f:apiVersion: {}
|
|
f:kind: {}
|
|
f:name: {}
|
|
f:namespace: {}
|
|
f:resourceVersion: {}
|
|
f:uid: {}
|
|
f:hostPath:
|
|
.: {}
|
|
f:path: {}
|
|
f:type: {}
|
|
f:persistentVolumeReclaimPolicy: {}
|
|
f:storageClassName: {}
|
|
f:volumeMode: {}
|
|
manager: storage-provisioner
|
|
operation: Update
|
|
time: "2024-12-28T13:30:06Z"
|
|
name: pvc-aa2ef8a8-4fff-4d85-82b2-a3db3cc347be
|
|
resourceVersion: "5199"
|
|
uid: 4ef2e918-8ba9-4db2-8113-b71f097273da
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 512M
|
|
claimRef:
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
name: mysql-pv-claim
|
|
namespace: default
|
|
resourceVersion: "5194"
|
|
uid: aa2ef8a8-4fff-4d85-82b2-a3db3cc347be
|
|
hostPath:
|
|
path: /tmp/hostpath-provisioner/default/mysql-pv-claim
|
|
type: ""
|
|
persistentVolumeReclaimPolicy: Delete
|
|
storageClassName: standard
|
|
volumeMode: Filesystem
|
|
status:
|
|
phase: Bound
|
|
- apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"},"labels":{"addonmanager.kubernetes.io/mode":"EnsureExists"},"name":"standard"},"provisioner":"k8s.io/minikube-hostpath"}
|
|
storageclass.kubernetes.io/is-default-class: "true"
|
|
creationTimestamp: "2024-12-28T11:58:18Z"
|
|
labels:
|
|
addonmanager.kubernetes.io/mode: EnsureExists
|
|
managedFields:
|
|
- apiVersion: storage.k8s.io/v1
|
|
fieldsType: FieldsV1
|
|
fieldsV1:
|
|
f:metadata:
|
|
f:annotations:
|
|
.: {}
|
|
f:kubectl.kubernetes.io/last-applied-configuration: {}
|
|
f:storageclass.kubernetes.io/is-default-class: {}
|
|
f:labels:
|
|
.: {}
|
|
f:addonmanager.kubernetes.io/mode: {}
|
|
f:provisioner: {}
|
|
f:reclaimPolicy: {}
|
|
f:volumeBindingMode: {}
|
|
manager: kubectl-client-side-apply
|
|
operation: Update
|
|
time: "2024-12-28T11:58:18Z"
|
|
name: standard
|
|
resourceVersion: "270"
|
|
uid: e8399b7e-e801-44e8-8c49-701486165b92
|
|
provisioner: k8s.io/minikube-hostpath
|
|
reclaimPolicy: Delete
|
|
volumeBindingMode: Immediate
|
|
kind: List
|
|
metadata:
|
|
resourceVersion: ""
|
|
selfLink: ""
|