648 lines
21 KiB
YAML
648 lines
21 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: '2025-05-21T13:55:04Z'
|
|
generateName: wikijs-6bd85497c7-
|
|
labels:
|
|
app: wikijs
|
|
pod-template-hash: 6bd85497c7
|
|
name: wikijs-6bd85497c7-pms5l
|
|
namespace: wiki
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: wikijs-6bd85497c7
|
|
uid: 457871f1-eb38-41a9-afb2-c4f248e68205
|
|
resourceVersion: '20356518'
|
|
uid: 7a49f498-1cf4-49b6-b0c3-363769650655
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: DB_TYPE
|
|
value: postgres
|
|
- name: DB_HOST
|
|
value: wikijs-postgres
|
|
- name: DB_PORT
|
|
value: '5432'
|
|
- name: DB_USER
|
|
value: wikijs
|
|
- name: DB_PASS
|
|
value: wikijsrocks
|
|
- name: DB_NAME
|
|
value: wikijs
|
|
image: ghcr.io/requarks/wiki:latest
|
|
imagePullPolicy: Always
|
|
name: wiki
|
|
ports:
|
|
- containerPort: 3000
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-lq4rc
|
|
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-lq4rc
|
|
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:42Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-05-21T13:55:04Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-08-24T01:02:42Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-08-24T01:02:42Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-05-21T13:55:04Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://7f8a57137386d6f90e200982b8b520c87febdc7eb2a4cf35e2b7efe4285d7f0c
|
|
image: ghcr.io/requarks/wiki:latest
|
|
imageID: ghcr.io/requarks/wiki@sha256:1eaa2de751c2925871a95a02e0ddbdd5c48bf2e016653b2e4a8f0c646cc4ff83
|
|
lastState:
|
|
terminated:
|
|
containerID: containerd://911a250febab0b7babd609edb8458077efbbc4b16dd4381c17b3814d1aca762a
|
|
exitCode: 255
|
|
finishedAt: '2025-08-24T01:01:44Z'
|
|
reason: Unknown
|
|
startedAt: '2025-08-12T14:09:47Z'
|
|
name: wiki
|
|
ready: true
|
|
restartCount: 12
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-08-24T01:02:41Z'
|
|
volumeMounts:
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-lq4rc
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
phase: Running
|
|
podIP: 10.244.0.46
|
|
podIPs:
|
|
- ip: 10.244.0.46
|
|
qosClass: BestEffort
|
|
startTime: '2025-05-21T13:55:04Z'
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: '2025-05-21T13:55:04Z'
|
|
generateName: wikijs-postgres-79d84f58b5-
|
|
labels:
|
|
app: wikijs-postgres
|
|
pod-template-hash: 79d84f58b5
|
|
name: wikijs-postgres-79d84f58b5-jnff4
|
|
namespace: wiki
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: wikijs-postgres-79d84f58b5
|
|
uid: d3e5df36-d1f0-4dfd-aa76-30063a80fbb8
|
|
resourceVersion: '20356480'
|
|
uid: d30024af-854a-40d2-8615-a2a40c525b60
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: POSTGRES_DB
|
|
value: wikijs
|
|
- name: POSTGRES_USER
|
|
value: wikijs
|
|
- name: POSTGRES_PASSWORD
|
|
value: wikijsrocks
|
|
image: postgres:14
|
|
imagePullPolicy: IfNotPresent
|
|
name: postgres
|
|
ports:
|
|
- containerPort: 5432
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/postgresql/data
|
|
name: postgres-data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-djkxt
|
|
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: postgres-data
|
|
persistentVolumeClaim:
|
|
claimName: wikijs-postgres-pvc
|
|
- name: kube-api-access-djkxt
|
|
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:09Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-05-21T13:55:08Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-08-24T01:02:09Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-08-24T01:02:09Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-05-21T13:55:08Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://cf6866bbb5d81f8d0a0d5166f80f983acaf084333be58bb75f09b39b7affe779
|
|
image: docker.io/library/postgres:14
|
|
imageID: docker.io/library/postgres@sha256:e7e9c0b3470ebff1b693f3a0a3302eb02505e62d67fc1b42c86c2811b4c6e451
|
|
lastState:
|
|
terminated:
|
|
containerID: containerd://748ff60cb1099d8223cb464cfa8b08acbc70f3f954e39d9a9657d8208c1f38b8
|
|
exitCode: 255
|
|
finishedAt: '2025-08-24T01:01:44Z'
|
|
reason: Unknown
|
|
startedAt: '2025-08-12T14:09:42Z'
|
|
name: postgres
|
|
ready: true
|
|
restartCount: 7
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-08-24T01:02:10Z'
|
|
volumeMounts:
|
|
- mountPath: /var/lib/postgresql/data
|
|
name: postgres-data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-djkxt
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
phase: Running
|
|
podIP: 10.244.0.47
|
|
podIPs:
|
|
- ip: 10.244.0.47
|
|
qosClass: BestEffort
|
|
startTime: '2025-05-21T13:55:08Z'
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"wikijs","namespace":"wiki"},"spec":{"ports":[{"nodePort":30080,"port":80,"targetPort":3000}],"selector":{"app":"wikijs"},"type":"NodePort"}}
|
|
|
|
'
|
|
creationTimestamp: '2025-05-21T13:55:04Z'
|
|
name: wikijs
|
|
namespace: wiki
|
|
resourceVersion: '2872068'
|
|
uid: d358248f-0bf0-459e-95cf-cc10ff21ad6a
|
|
spec:
|
|
clusterIP: 10.111.144.209
|
|
clusterIPs:
|
|
- 10.111.144.209
|
|
externalTrafficPolicy: Cluster
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- nodePort: 30080
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 3000
|
|
selector:
|
|
app: wikijs
|
|
sessionAffinity: None
|
|
type: NodePort
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"wikijs-postgres","namespace":"wiki"},"spec":{"ports":[{"port":5432,"targetPort":5432}],"selector":{"app":"wikijs-postgres"}}}
|
|
|
|
'
|
|
creationTimestamp: '2025-05-21T14:01:52Z'
|
|
name: wikijs-postgres
|
|
namespace: wiki
|
|
resourceVersion: '2872812'
|
|
uid: e4a14775-b709-4e22-845d-2b454f5c9296
|
|
spec:
|
|
clusterIP: 10.106.106.142
|
|
clusterIPs:
|
|
- 10.106.106.142
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- port: 5432
|
|
protocol: TCP
|
|
targetPort: 5432
|
|
selector:
|
|
app: wikijs-postgres
|
|
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":{},"name":"wikijs","namespace":"wiki"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"wikijs"}},"template":{"metadata":{"labels":{"app":"wikijs"}},"spec":{"containers":[{"env":[{"name":"DB_TYPE","value":"postgres"},{"name":"DB_HOST","value":"wikijs-postgres"},{"name":"DB_PORT","value":"5432"},{"name":"DB_USER","value":"wikijs"},{"name":"DB_PASS","value":"wikijsrocks"},{"name":"DB_NAME","value":"wikijs"}],"image":"ghcr.io/requarks/wiki:latest","name":"wiki","ports":[{"containerPort":3000}]}]}}}}
|
|
|
|
'
|
|
creationTimestamp: '2025-05-21T13:55:04Z'
|
|
generation: 1
|
|
name: wikijs
|
|
namespace: wiki
|
|
resourceVersion: '12273871'
|
|
uid: 4bdf2b62-bcba-4549-b404-8063922f94fc
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: wikijs
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wikijs
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: DB_TYPE
|
|
value: postgres
|
|
- name: DB_HOST
|
|
value: wikijs-postgres
|
|
- name: DB_PORT
|
|
value: '5432'
|
|
- name: DB_USER
|
|
value: wikijs
|
|
- name: DB_PASS
|
|
value: wikijsrocks
|
|
- name: DB_NAME
|
|
value: wikijs
|
|
image: ghcr.io/requarks/wiki:latest
|
|
imagePullPolicy: Always
|
|
name: wiki
|
|
ports:
|
|
- containerPort: 3000
|
|
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-05-21T13:55:04Z'
|
|
lastUpdateTime: '2025-05-21T13:55:53Z'
|
|
message: ReplicaSet "wikijs-6bd85497c7" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: 'True'
|
|
type: Progressing
|
|
- lastTransitionTime: '2025-08-24T01:02:42Z'
|
|
lastUpdateTime: '2025-08-24T01:02:42Z'
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: 'True'
|
|
type: Available
|
|
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":{},"name":"wikijs-postgres","namespace":"wiki"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"wikijs-postgres"}},"template":{"metadata":{"labels":{"app":"wikijs-postgres"}},"spec":{"containers":[{"env":[{"name":"POSTGRES_DB","value":"wikijs"},{"name":"POSTGRES_USER","value":"wikijs"},{"name":"POSTGRES_PASSWORD","value":"wikijsrocks"}],"image":"postgres:14","name":"postgres","ports":[{"containerPort":5432}],"volumeMounts":[{"mountPath":"/var/lib/postgresql/data","name":"postgres-data"}]}],"volumes":[{"name":"postgres-data","persistentVolumeClaim":{"claimName":"wikijs-postgres-pvc"}}]}}}}
|
|
|
|
'
|
|
creationTimestamp: '2025-05-21T13:55:04Z'
|
|
generation: 1
|
|
name: wikijs-postgres
|
|
namespace: wiki
|
|
resourceVersion: '8820198'
|
|
uid: 502330c7-9841-4df2-b4d7-f5664efe11b6
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: wikijs-postgres
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wikijs-postgres
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: POSTGRES_DB
|
|
value: wikijs
|
|
- name: POSTGRES_USER
|
|
value: wikijs
|
|
- name: POSTGRES_PASSWORD
|
|
value: wikijsrocks
|
|
image: postgres:14
|
|
imagePullPolicy: IfNotPresent
|
|
name: postgres
|
|
ports:
|
|
- containerPort: 5432
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/postgresql/data
|
|
name: postgres-data
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: postgres-data
|
|
persistentVolumeClaim:
|
|
claimName: wikijs-postgres-pvc
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: '2025-05-21T13:55:04Z'
|
|
lastUpdateTime: '2025-05-21T13:56:01Z'
|
|
message: ReplicaSet "wikijs-postgres-79d84f58b5" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: 'True'
|
|
type: Progressing
|
|
- lastTransitionTime: '2025-07-07T13:23:22Z'
|
|
lastUpdateTime: '2025-07-07T13:23:22Z'
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: 'True'
|
|
type: Available
|
|
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: '2'
|
|
deployment.kubernetes.io/revision: '1'
|
|
creationTimestamp: '2025-05-21T13:55:04Z'
|
|
generation: 1
|
|
labels:
|
|
app: wikijs
|
|
pod-template-hash: 6bd85497c7
|
|
name: wikijs-6bd85497c7
|
|
namespace: wiki
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: wikijs
|
|
uid: 4bdf2b62-bcba-4549-b404-8063922f94fc
|
|
resourceVersion: '12273868'
|
|
uid: 457871f1-eb38-41a9-afb2-c4f248e68205
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: wikijs
|
|
pod-template-hash: 6bd85497c7
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wikijs
|
|
pod-template-hash: 6bd85497c7
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: DB_TYPE
|
|
value: postgres
|
|
- name: DB_HOST
|
|
value: wikijs-postgres
|
|
- name: DB_PORT
|
|
value: '5432'
|
|
- name: DB_USER
|
|
value: wikijs
|
|
- name: DB_PASS
|
|
value: wikijsrocks
|
|
- name: DB_NAME
|
|
value: wikijs
|
|
image: ghcr.io/requarks/wiki:latest
|
|
imagePullPolicy: Always
|
|
name: wiki
|
|
ports:
|
|
- containerPort: 3000
|
|
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
|
|
- 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-21T13:55:04Z'
|
|
generation: 1
|
|
labels:
|
|
app: wikijs-postgres
|
|
pod-template-hash: 79d84f58b5
|
|
name: wikijs-postgres-79d84f58b5
|
|
namespace: wiki
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: wikijs-postgres
|
|
uid: 502330c7-9841-4df2-b4d7-f5664efe11b6
|
|
resourceVersion: '8820197'
|
|
uid: d3e5df36-d1f0-4dfd-aa76-30063a80fbb8
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: wikijs-postgres
|
|
pod-template-hash: 79d84f58b5
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: wikijs-postgres
|
|
pod-template-hash: 79d84f58b5
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: POSTGRES_DB
|
|
value: wikijs
|
|
- name: POSTGRES_USER
|
|
value: wikijs
|
|
- name: POSTGRES_PASSWORD
|
|
value: wikijsrocks
|
|
image: postgres:14
|
|
imagePullPolicy: IfNotPresent
|
|
name: postgres
|
|
ports:
|
|
- containerPort: 5432
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/lib/postgresql/data
|
|
name: postgres-data
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: postgres-data
|
|
persistentVolumeClaim:
|
|
claimName: wikijs-postgres-pvc
|
|
status:
|
|
availableReplicas: 1
|
|
fullyLabeledReplicas: 1
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
kind: List
|
|
metadata: {}
|