-
Notifications
You must be signed in to change notification settings - Fork 0
/
jei-gogs.yaml
1024 lines (1024 loc) · 40.8 KB
/
jei-gogs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu, memory request for
container gogs; cpu, memory limit for container gogs'
openshift.io/deployment-config.latest-version: "3"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.name: gogs-3
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: restricted
creationTimestamp: 2019-03-19T19:22:54Z
generateName: gogs-3-
labels:
app: gogs
deployment: gogs-3
deploymentconfig: gogs
name: gogs-3-lwdxt
namespace: jei-gogs
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: gogs-3
uid: 62e9f4dd-4a7c-11e9-bdbd-0611106f25de
resourceVersion: "297837"
selfLink: /api/v1/namespaces/jei-gogs/pods/gogs-3-lwdxt
uid: 6531f502-4a7c-11e9-bdbd-0611106f25de
spec:
containers:
- image: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
imagePullPolicy: IfNotPresent
name: gogs
ports:
- containerPort: 3000
protocol: TCP
resources:
limits:
cpu: 500m
memory: 1536Mi
requests:
cpu: 50m
memory: 256Mi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
runAsUser: 1002890000
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: gogs-volume-1
- mountPath: /opt/gogs/custom/conf
name: config-volume
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-hln8f
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: default-dockercfg-v4z29
nodeName: node3.7b10.internal
nodeSelector:
node-role.kubernetes.io/compute: "true"
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1002890000
seLinuxOptions:
level: s0:c54,c14
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
volumes:
- name: gogs-volume-1
persistentVolumeClaim:
claimName: gogs-data
- configMap:
defaultMode: 420
name: gogs
name: config-volume
- name: default-token-hln8f
secret:
defaultMode: 420
secretName: default-token-hln8f
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-03-19T19:22:54Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-03-19T21:32:55Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-03-19T19:22:54Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://e816cb8433932b706f84798426ec1b26f5a1d396208bf05eec0cbcea21e19b1b
image: sha256:353b6ec5a3357b6fe000b7a9e98fc53df180b9f8e9b4ceb493081757599c0ed9
imageID: docker-pullable://docker.io/wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
lastState:
terminated:
containerID: docker://ea5d10ead04f9b29a7ddc00c81a4e770a31d8bf496df1024f00a45a894084606
exitCode: 1
finishedAt: 2019-03-19T21:32:26Z
reason: Error
startedAt: 2019-03-19T21:32:23Z
name: gogs
ready: true
restartCount: 5
state:
running:
startedAt: 2019-03-19T21:32:55Z
hostIP: 192.168.0.56
phase: Running
podIP: 10.1.14.203
qosClass: Burstable
startTime: 2019-03-19T19:22:54Z
- apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu request for container
postgresql; cpu limit for container postgresql'
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: postgresql
openshift.io/deployment.name: postgresql-1
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: restricted
creationTimestamp: 2019-03-19T19:02:05Z
generateName: postgresql-1-
labels:
app: postgresql_gogs
deployment: postgresql-1
deploymentconfig: postgresql
name: postgresql
name: postgresql-1-cnxnh
namespace: jei-gogs
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: postgresql-1
uid: 7b219096-4a79-11e9-bdbd-0611106f25de
resourceVersion: "296788"
selfLink: /api/v1/namespaces/jei-gogs/pods/postgresql-1-cnxnh
uid: 7cae6ca4-4a79-11e9-bdbd-0611106f25de
spec:
containers:
- env:
- name: POSTGRESQL_USER
valueFrom:
secretKeyRef:
key: database-user
name: postgresql
- name: POSTGRESQL_PASSWORD
valueFrom:
secretKeyRef:
key: database-password
name: postgresql
- name: POSTGRESQL_DATABASE
valueFrom:
secretKeyRef:
key: database-name
name: postgresql
image: docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- /usr/libexec/check-container
- --live
failureThreshold: 3
initialDelaySeconds: 120
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
name: postgresql
ports:
- containerPort: 5432
protocol: TCP
readinessProbe:
exec:
command:
- /usr/libexec/check-container
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 512Mi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
privileged: false
runAsUser: 1002890000
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/pgsql/data
name: postgresql-data
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-hln8f
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: default-dockercfg-v4z29
nodeName: node3.7b10.internal
nodeSelector:
node-role.kubernetes.io/compute: "true"
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1002890000
seLinuxOptions:
level: s0:c54,c14
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
volumes:
- name: postgresql-data
persistentVolumeClaim:
claimName: postgresql
- name: default-token-hln8f
secret:
defaultMode: 420
secretName: default-token-hln8f
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-03-19T19:02:05Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-03-19T21:32:01Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-03-19T19:02:05Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://9f37753ef09add74aff3494e158e334152c77da42fb1006644a97d533665a674
image: sha256:fb27f4882dab8d41725e0d94dc0c22a3e84b9af65df9a2343d4c2c0f04e8c7a5
imageID: docker-pullable://docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e
lastState:
terminated:
containerID: docker://039341a86f5d2759851bee71c68aeb64fe9ab945f5c08b339d8908ba31a47756
exitCode: 128
finishedAt: 2019-03-19T21:31:37Z
message: 'cannot join network of a non running container: 5c26406b559ecd321ebfebe578762078e147eb8d3f18b73193ed1e6a58a88231'
reason: ContainerCannotRun
startedAt: 2019-03-19T21:31:37Z
name: postgresql
ready: true
restartCount: 2
state:
running:
startedAt: 2019-03-19T21:31:49Z
hostIP: 192.168.0.56
phase: Running
podIP: 10.1.14.205
qosClass: Burstable
startTime: 2019-03-19T19:02:05Z
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
kubectl.kubernetes.io/original-replicas: "1"
openshift.io/deployer-pod.completed-at: 2019-03-19 19:05:31 +0000 UTC
openshift.io/deployer-pod.created-at: 2019-03-19 19:05:14 +0000 UTC
openshift.io/deployer-pod.name: gogs-1-deploy
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: "1"
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"gogs","namespace":"jei-gogs","selfLink":"/apis/apps.openshift.io/v1/namespaces/jei-gogs/deploymentconfigs/gogs","uid":"ed2829dd-4a79-11e9-bdbd-0611106f25de","resourceVersion":"258168","generation":2,"creationTimestamp":"2019-03-19T19:05:14Z","labels":{"app":"gogs"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{},"activeDeadlineSeconds":21600},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["gogs"],"from":{"kind":"ImageStreamTag","namespace":"jei-gogs","name":"gogs:11.34"},"lastTriggeredImage":"wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d"}}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"app":"gogs","deploymentconfig":"gogs"},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"gogs","deploymentconfig":"gogs"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"gogs-volume-1","emptyDir":{}}],"containers":[{"name":"gogs","image":"wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d","ports":[{"containerPort":3000,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"gogs-volume-1","mountPath":"/data"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":1,"observedGeneration":1,"replicas":0,"updatedReplicas":0,"availableReplicas":0,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"False","lastUpdateTime":"2019-03-19T19:05:14Z","lastTransitionTime":"2019-03-19T19:05:14Z","message":"Deployment config does not have minimum availability."}]}}
creationTimestamp: 2019-03-19T19:05:14Z
generation: 3
labels:
app: gogs
openshift.io/deployment-config.name: gogs
name: gogs-1
namespace: jei-gogs
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: gogs
uid: ed2829dd-4a79-11e9-bdbd-0611106f25de
resourceVersion: "259353"
selfLink: /api/v1/namespaces/jei-gogs/replicationcontrollers/gogs-1
uid: ed420778-4a79-11e9-bdbd-0611106f25de
spec:
replicas: 0
selector:
app: gogs
deployment: gogs-1
deploymentconfig: gogs
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.name: gogs-1
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: gogs
deployment: gogs-1
deploymentconfig: gogs
spec:
containers:
- image: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
imagePullPolicy: IfNotPresent
name: gogs
ports:
- containerPort: 3000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: gogs-volume-1
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: gogs-volume-1
status:
observedGeneration: 3
replicas: 0
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
kubectl.kubernetes.io/original-replicas: "1"
openshift.io/deployer-pod.completed-at: 2019-03-19 19:09:39 +0000 UTC
openshift.io/deployer-pod.created-at: 2019-03-19 19:09:18 +0000 UTC
openshift.io/deployer-pod.name: gogs-2-deploy
openshift.io/deployment-config.latest-version: "2"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: ""
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"gogs","namespace":"jei-gogs","selfLink":"/apis/apps.openshift.io/v1/namespaces/jei-gogs/deploymentconfigs/gogs","uid":"ed2829dd-4a79-11e9-bdbd-0611106f25de","resourceVersion":"259229","generation":3,"creationTimestamp":"2019-03-19T19:05:14Z","labels":{"app":"gogs"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{},"activeDeadlineSeconds":21600},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["gogs"],"from":{"kind":"ImageStreamTag","namespace":"jei-gogs","name":"gogs:11.34"},"lastTriggeredImage":"wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d"}}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"app":"gogs","deploymentconfig":"gogs"},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"gogs","deploymentconfig":"gogs"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"gogs-volume-1","persistentVolumeClaim":{"claimName":"gogs-data"}}],"containers":[{"name":"gogs","image":"wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d","ports":[{"containerPort":3000,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"gogs-volume-1","mountPath":"/data"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":2,"observedGeneration":2,"replicas":1,"updatedReplicas":1,"availableReplicas":1,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2019-03-19T19:05:31Z","lastTransitionTime":"2019-03-19T19:05:31Z","message":"Deployment config has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2019-03-19T19:05:32Z","lastTransitionTime":"2019-03-19T19:05:17Z","reason":"NewReplicationControllerAvailable","message":"replication controller \"gogs-1\" successfully rolled out"}],"readyReplicas":1}}
creationTimestamp: 2019-03-19T19:09:18Z
generation: 3
labels:
app: gogs
openshift.io/deployment-config.name: gogs
name: gogs-2
namespace: jei-gogs
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: gogs
uid: ed2829dd-4a79-11e9-bdbd-0611106f25de
resourceVersion: "263499"
selfLink: /api/v1/namespaces/jei-gogs/replicationcontrollers/gogs-2
uid: 7e7c6bd1-4a7a-11e9-bdbd-0611106f25de
spec:
replicas: 0
selector:
app: gogs
deployment: gogs-2
deploymentconfig: gogs
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "2"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.name: gogs-2
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: gogs
deployment: gogs-2
deploymentconfig: gogs
spec:
containers:
- image: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
imagePullPolicy: IfNotPresent
name: gogs
ports:
- containerPort: 3000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: gogs-volume-1
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: gogs-volume-1
persistentVolumeClaim:
claimName: gogs-data
status:
observedGeneration: 3
replicas: 0
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
openshift.io/deployer-pod.completed-at: 2019-03-19 19:23:11 +0000 UTC
openshift.io/deployer-pod.created-at: 2019-03-19 19:22:50 +0000 UTC
openshift.io/deployer-pod.name: gogs-3-deploy
openshift.io/deployment-config.latest-version: "3"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: ""
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"gogs","namespace":"jei-gogs","selfLink":"/apis/apps.openshift.io/v1/namespaces/jei-gogs/deploymentconfigs/gogs","uid":"ed2829dd-4a79-11e9-bdbd-0611106f25de","resourceVersion":"263348","generation":4,"creationTimestamp":"2019-03-19T19:05:14Z","labels":{"app":"gogs"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{},"activeDeadlineSeconds":21600},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["gogs"],"from":{"kind":"ImageStreamTag","namespace":"jei-gogs","name":"gogs:11.34"},"lastTriggeredImage":"wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d"}}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"app":"gogs","deploymentconfig":"gogs"},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"gogs","deploymentconfig":"gogs"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"gogs-volume-1","persistentVolumeClaim":{"claimName":"gogs-data"}},{"name":"config-volume","configMap":{"name":"gogs","defaultMode":420}}],"containers":[{"name":"gogs","image":"wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d","ports":[{"containerPort":3000,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"gogs-volume-1","mountPath":"/data"},{"name":"config-volume","mountPath":"/opt/gogs/custom/conf"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":3,"observedGeneration":3,"replicas":1,"updatedReplicas":1,"availableReplicas":1,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2019-03-19T19:05:31Z","lastTransitionTime":"2019-03-19T19:05:31Z","message":"Deployment config has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2019-03-19T19:09:40Z","lastTransitionTime":"2019-03-19T19:09:37Z","reason":"NewReplicationControllerAvailable","message":"replication controller \"gogs-2\" successfully rolled out"}],"readyReplicas":1}}
creationTimestamp: 2019-03-19T19:22:50Z
generation: 2
labels:
app: gogs
openshift.io/deployment-config.name: gogs
name: gogs-3
namespace: jei-gogs
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: gogs
uid: ed2829dd-4a79-11e9-bdbd-0611106f25de
resourceVersion: "297844"
selfLink: /api/v1/namespaces/jei-gogs/replicationcontrollers/gogs-3
uid: 62e9f4dd-4a7c-11e9-bdbd-0611106f25de
spec:
replicas: 1
selector:
app: gogs
deployment: gogs-3
deploymentconfig: gogs
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "3"
openshift.io/deployment-config.name: gogs
openshift.io/deployment.name: gogs-3
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: gogs
deployment: gogs-3
deploymentconfig: gogs
spec:
containers:
- image: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
imagePullPolicy: IfNotPresent
name: gogs
ports:
- containerPort: 3000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: gogs-volume-1
- mountPath: /opt/gogs/custom/conf
name: config-volume
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: gogs-volume-1
persistentVolumeClaim:
claimName: gogs-data
- configMap:
defaultMode: 420
name: gogs
name: config-volume
status:
availableReplicas: 1
fullyLabeledReplicas: 1
observedGeneration: 2
readyReplicas: 1
replicas: 1
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
openshift.io/deployer-pod.completed-at: 2019-03-19 19:02:23 +0000 UTC
openshift.io/deployer-pod.created-at: 2019-03-19 19:02:02 +0000 UTC
openshift.io/deployer-pod.name: postgresql-1-deploy
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: postgresql
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: "1"
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"postgresql","namespace":"jei-gogs","selfLink":"/apis/apps.openshift.io/v1/namespaces/jei-gogs/deploymentconfigs/postgresql","uid":"4bfc8a40-4a79-11e9-bdbd-0611106f25de","resourceVersion":"257025","generation":3,"creationTimestamp":"2019-03-19T19:00:43Z","labels":{"app":"postgresql_gogs","template":"postgresql-persistent-template"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp","template.alpha.openshift.io/wait-for-ready":"true"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600},"resources":{},"activeDeadlineSeconds":21600},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["postgresql"],"from":{"kind":"ImageStreamTag","namespace":"openshift","name":"postgresql:10"},"lastTriggeredImage":"docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e"}},{"type":"ConfigChange"}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"name":"postgresql"},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"postgresql_gogs","name":"postgresql"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"postgresql-data","persistentVolumeClaim":{"claimName":"postgresql"}}],"containers":[{"name":"postgresql","image":"docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e","ports":[{"containerPort":5432,"protocol":"TCP"}],"env":[{"name":"POSTGRESQL_USER","valueFrom":{"secretKeyRef":{"name":"postgresql","key":"database-user"}}},{"name":"POSTGRESQL_PASSWORD","valueFrom":{"secretKeyRef":{"name":"postgresql","key":"database-password"}}},{"name":"POSTGRESQL_DATABASE","valueFrom":{"secretKeyRef":{"name":"postgresql","key":"database-name"}}}],"resources":{"limits":{"memory":"512Mi"}},"volumeMounts":[{"name":"postgresql-data","mountPath":"/var/lib/pgsql/data"}],"livenessProbe":{"exec":{"command":["/usr/libexec/check-container","--live"]},"initialDelaySeconds":120,"timeoutSeconds":10,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/usr/libexec/check-container"]},"initialDelaySeconds":5,"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":1,"observedGeneration":2,"replicas":0,"updatedReplicas":0,"availableReplicas":0,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"False","lastUpdateTime":"2019-03-19T19:00:43Z","lastTransitionTime":"2019-03-19T19:00:43Z","message":"Deployment config does not have minimum availability."}]}}
creationTimestamp: 2019-03-19T19:02:02Z
generation: 2
labels:
app: postgresql_gogs
openshift.io/deployment-config.name: postgresql
template: postgresql-persistent-template
name: postgresql-1
namespace: jei-gogs
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: postgresql
uid: 4bfc8a40-4a79-11e9-bdbd-0611106f25de
resourceVersion: "296790"
selfLink: /api/v1/namespaces/jei-gogs/replicationcontrollers/postgresql-1
uid: 7b219096-4a79-11e9-bdbd-0611106f25de
spec:
replicas: 1
selector:
deployment: postgresql-1
deploymentconfig: postgresql
name: postgresql
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: postgresql
openshift.io/deployment.name: postgresql-1
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: postgresql_gogs
deployment: postgresql-1
deploymentconfig: postgresql
name: postgresql
spec:
containers:
- env:
- name: POSTGRESQL_USER
valueFrom:
secretKeyRef:
key: database-user
name: postgresql
- name: POSTGRESQL_PASSWORD
valueFrom:
secretKeyRef:
key: database-password
name: postgresql
- name: POSTGRESQL_DATABASE
valueFrom:
secretKeyRef:
key: database-name
name: postgresql
image: docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- /usr/libexec/check-container
- --live
failureThreshold: 3
initialDelaySeconds: 120
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
name: postgresql
ports:
- containerPort: 5432
protocol: TCP
readinessProbe:
exec:
command:
- /usr/libexec/check-container
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
memory: 512Mi
securityContext:
capabilities: {}
privileged: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/pgsql/data
name: postgresql-data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: postgresql-data
persistentVolumeClaim:
claimName: postgresql
status:
availableReplicas: 1
fullyLabeledReplicas: 1
observedGeneration: 2
readyReplicas: 1
replicas: 1
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-03-19T19:05:14Z
labels:
app: gogs
name: gogs
namespace: jei-gogs
resourceVersion: "258163"
selfLink: /api/v1/namespaces/jei-gogs/services/gogs
uid: ed291a1c-4a79-11e9-bdbd-0611106f25de
spec:
clusterIP: 172.30.93.125
ports:
- name: 3000-tcp
port: 3000
protocol: TCP
targetPort: 3000
selector:
app: gogs
deploymentconfig: gogs
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
template.openshift.io/expose-uri: postgres://{.spec.clusterIP}:{.spec.ports[?(.name=="postgresql")].port}
creationTimestamp: 2019-03-19T19:00:43Z
labels:
app: postgresql_gogs
template: postgresql-persistent-template
name: postgresql
namespace: jei-gogs
resourceVersion: "256632"
selfLink: /api/v1/namespaces/jei-gogs/services/postgresql
uid: 4bfa4452-4a79-11e9-bdbd-0611106f25de
spec:
clusterIP: 172.30.224.219
ports:
- name: postgresql
port: 5432
protocol: TCP
targetPort: 5432
selector:
name: postgresql
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-03-19T19:05:14Z
generation: 4
labels:
app: gogs
name: gogs
namespace: jei-gogs
resourceVersion: "297850"
selfLink: /apis/apps.openshift.io/v1/namespaces/jei-gogs/deploymentconfigs/gogs
uid: ed2829dd-4a79-11e9-bdbd-0611106f25de
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
app: gogs
deploymentconfig: gogs
strategy:
activeDeadlineSeconds: 21600
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: gogs
deploymentconfig: gogs
spec:
containers:
- image: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
imagePullPolicy: IfNotPresent
name: gogs
ports:
- containerPort: 3000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: gogs-volume-1
- mountPath: /opt/gogs/custom/conf
name: config-volume
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: gogs-volume-1
persistentVolumeClaim:
claimName: gogs-data
- configMap:
defaultMode: 420
name: gogs
name: config-volume
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- gogs
from:
kind: ImageStreamTag
name: gogs:11.34
namespace: jei-gogs
lastTriggeredImage: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
type: ImageChange
status:
availableReplicas: 1
conditions:
- lastTransitionTime: 2019-03-19T19:23:09Z
lastUpdateTime: 2019-03-19T19:23:12Z
message: replication controller "gogs-3" successfully rolled out
reason: NewReplicationControllerAvailable
status: "True"
type: Progressing
- lastTransitionTime: 2019-03-19T21:32:56Z
lastUpdateTime: 2019-03-19T21:32:56Z
message: Deployment config has minimum availability.
status: "True"
type: Available
details:
causes:
- type: ConfigChange
message: config change
latestVersion: 3
observedGeneration: 4
readyReplicas: 1
replicas: 1
unavailableReplicas: 0
updatedReplicas: 1
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
template.alpha.openshift.io/wait-for-ready: "true"
creationTimestamp: 2019-03-19T19:00:43Z
generation: 3
labels:
app: postgresql_gogs
template: postgresql-persistent-template
name: postgresql
namespace: jei-gogs
resourceVersion: "296792"
selfLink: /apis/apps.openshift.io/v1/namespaces/jei-gogs/deploymentconfigs/postgresql
uid: 4bfc8a40-4a79-11e9-bdbd-0611106f25de
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
name: postgresql
strategy:
activeDeadlineSeconds: 21600
recreateParams:
timeoutSeconds: 600
resources: {}
type: Recreate
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: postgresql_gogs
name: postgresql
spec:
containers:
- env:
- name: POSTGRESQL_USER
valueFrom:
secretKeyRef:
key: database-user
name: postgresql
- name: POSTGRESQL_PASSWORD
valueFrom:
secretKeyRef:
key: database-password
name: postgresql
- name: POSTGRESQL_DATABASE
valueFrom:
secretKeyRef:
key: database-name
name: postgresql
image: docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- /usr/libexec/check-container
- --live
failureThreshold: 3
initialDelaySeconds: 120
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
name: postgresql
ports:
- containerPort: 5432
protocol: TCP
readinessProbe:
exec:
command:
- /usr/libexec/check-container
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
memory: 512Mi
securityContext:
capabilities: {}
privileged: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/pgsql/data
name: postgresql-data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: postgresql-data
persistentVolumeClaim:
claimName: postgresql
test: false
triggers:
- imageChangeParams:
automatic: true
containerNames:
- postgresql
from:
kind: ImageStreamTag
name: postgresql:10
namespace: openshift
lastTriggeredImage: docker-registry.default.svc:5000/openshift/postgresql@sha256:711a9bc9c92a1a5c75e3910833612115c56b91c4c44eccc5580afd890a2d910e
type: ImageChange
- type: ConfigChange
status:
availableReplicas: 1
conditions:
- lastTransitionTime: 2019-03-19T19:02:24Z
lastUpdateTime: 2019-03-19T19:02:24Z
message: replication controller "postgresql-1" successfully rolled out
reason: NewReplicationControllerAvailable
status: "True"
type: Progressing
- lastTransitionTime: 2019-03-19T21:32:26Z
lastUpdateTime: 2019-03-19T21:32:26Z
message: Deployment config has minimum availability.
status: "True"
type: Available
details:
causes:
- type: ConfigChange
message: config change
latestVersion: 1
observedGeneration: 3
readyReplicas: 1
replicas: 1
unavailableReplicas: 0
updatedReplicas: 1
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
openshift.io/image.dockerRepositoryCheck: 2019-03-19T19:05:14Z
creationTimestamp: 2019-03-19T19:05:14Z
generation: 2
labels:
app: gogs
name: gogs
namespace: jei-gogs
resourceVersion: "258166"
selfLink: /apis/image.openshift.io/v1/namespaces/jei-gogs/imagestreams/gogs
uid: ed26e22c-4a79-11e9-bdbd-0611106f25de
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/imported-from: wkulhanek/gogs:11.34
from:
kind: DockerImage
name: wkulhanek/gogs:11.34
generation: 2
importPolicy: {}
name: "11.34"
referencePolicy:
type: Source
status:
dockerImageRepository: docker-registry.default.svc:5000/jei-gogs/gogs
tags:
- items:
- created: 2019-03-19T19:05:14Z
dockerImageReference: wkulhanek/gogs@sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
generation: 2
image: sha256:8bcc1cb6f938388b288ba1f9cfe1f2fb7f0cd2297c7b4cdd2d88c2224bb99f4d
tag: "11.34"
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
openshift.io/host.generated: "true"
creationTimestamp: 2019-03-19T19:10:43Z
labels:
app: gogs
name: gogs
namespace: jei-gogs
resourceVersion: "259609"