73 lines
1.9 KiB
YAML
73 lines
1.9 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/revision: "3"
|
|
creationTimestamp: "2026-04-17T04:06:38Z"
|
|
generation: 6
|
|
name: phpipam-app
|
|
namespace: phpipam
|
|
resourceVersion: "14509297"
|
|
uid: 923eb54c-0d23-444b-8496-57900c6a7a34
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: phpipam-app
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: phpipam-app
|
|
spec:
|
|
containers:
|
|
- image: gitea.lab.cudanet.org/cudanet/phpipam/php-fpm:latest
|
|
imagePullPolicy: Always
|
|
name: php-fpm
|
|
resources: {}
|
|
securityContext:
|
|
runAsUser: 1001
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /var/www/html
|
|
name: phpipam-code
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 0
|
|
runAsUser: 1001
|
|
serviceAccount: phpipam
|
|
serviceAccountName: phpipam
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: phpipam-code
|
|
persistentVolumeClaim:
|
|
claimName: phpipam-code-pvc
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: "2026-04-17T05:11:09Z"
|
|
lastUpdateTime: "2026-04-17T16:03:49Z"
|
|
message: ReplicaSet "phpipam-app-79cdcb668c" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: "True"
|
|
type: Progressing
|
|
- lastTransitionTime: "2026-04-17T22:11:15Z"
|
|
lastUpdateTime: "2026-04-17T22:11:15Z"
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: "True"
|
|
type: Available
|
|
observedGeneration: 6
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|