Skip to content

Commit 1fd9611

Browse files
committed
graceful shutdown for PackageManifest server
1 parent 96456a3 commit 1fd9611

File tree

11 files changed

+20
-38
lines changed

11 files changed

+20
-38
lines changed

deploy/chart/templates/_packageserver.clusterserviceversion.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@
5555
verbs:
5656
- get
5757
- list
58-
- watch
59-
- create
60-
- delete
61-
- patch
62-
- update
6358
deployments:
6459
- name: packageserver
6560
spec:

deploy/chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ catalog:
2828
beta.kubernetes.io/os: linux
2929

3030
package:
31-
replicaCount: 1
31+
replicaCount: 2
3232
image:
3333
ref: quay.io/coreos/olm:master
3434
pullPolicy: Always

deploy/ocp/manifests/0.8.1/0000_50_olm_10-olm-operators.configmap.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,10 @@ data:
6666
verbs:
6767
- get
6868
- list
69-
- watch
70-
- create
71-
- delete
72-
- patch
73-
- update
7469
deployments:
7570
- name: packageserver
7671
spec:
77-
replicas: 1
72+
replicas: 2
7873
strategy:
7974
type: RollingUpdate
8075
selector:

deploy/ocp/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ catalog:
2929
tolerations:
3030
- operator: Exists
3131
package:
32-
replicaCount: 1
32+
replicaCount: 2
3333
image:
3434
ref: quay.io/coreos/olm@sha256:995a181839f301585a0e115c083619b6d73812c58a8444d7b13b8e407010325f
3535
pullPolicy: Always

deploy/okd/manifests/0.8.1/0000_50_olm_10-olm-operators.configmap.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,10 @@ data:
6666
verbs:
6767
- get
6868
- list
69-
- watch
70-
- create
71-
- delete
72-
- patch
73-
- update
7469
deployments:
7570
- name: packageserver
7671
spec:
77-
replicas: 1
72+
replicas: 2
7873
strategy:
7974
type: RollingUpdate
8075
selector:

deploy/okd/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ catalog:
1919
service:
2020
internalPort: 8080
2121
package:
22-
replicaCount: 1
22+
replicaCount: 2
2323
image:
2424
ref: quay.io/coreos/olm@sha256:995a181839f301585a0e115c083619b6d73812c58a8444d7b13b8e407010325f
2525
pullPolicy: Always

deploy/upstream/manifests/0.8.1/0000_50_olm_10-olm-operators.configmap.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,10 @@ data:
6666
verbs:
6767
- get
6868
- list
69-
- watch
70-
- create
71-
- delete
72-
- patch
73-
- update
7469
deployments:
7570
- name: packageserver
7671
spec:
77-
replicas: 1
72+
replicas: 2
7873
strategy:
7974
type: RollingUpdate
8075
selector:

deploy/upstream/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ catalog:
1919
service:
2020
internalPort: 8080
2121
package:
22-
replicaCount: 1
22+
replicaCount: 2
2323
image:
2424
ref: quay.io/coreos/olm@sha256:995a181839f301585a0e115c083619b6d73812c58a8444d7b13b8e407010325f
2525
pullPolicy: Always

go.sum

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s=
2222
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
2323
github.com/coreos/etcd v3.3.9+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
2424
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
25-
github.com/coreos/etcd v3.3.11+incompatible h1:U0wJghY374q+UrjOM2mfROHSwEspsQVkCACB1PGka1g=
25+
github.com/coreos/etcd v3.3.11+incompatible h1:0gCnqKsq7XxMi69JsnbmMc1o+RJH3XH64sV9aiTTYko=
2626
github.com/coreos/etcd v3.3.11+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
2727
github.com/coreos/go-semver v0.2.0 h1:3Jm3tLmsgAYcjC+4Up7hJrFBPr+n7rAqYeSw/SZazuY=
2828
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
@@ -112,7 +112,7 @@ github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoA
112112
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
113113
github.com/gregjones/httpcache v0.0.0-20181110185634-c63ab54fda8f h1:ShTPMJQes6tubcjzGMODIVG5hlrCeImaBnZzKF2N8SM=
114114
github.com/gregjones/httpcache v0.0.0-20181110185634-c63ab54fda8f/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
115-
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 h1:BWIsLfhgKhV5g/oF34aRjniBHLTZe5DNekSjbAjIS6c=
115+
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c=
116116
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
117117
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=
118118
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
@@ -318,5 +318,5 @@ k8s.io/kube-openapi v0.0.0-20181031203759-72693cb1fadd h1:ggv/Vfza0i5xuhUZyYyxcc
318318
k8s.io/kube-openapi v0.0.0-20181031203759-72693cb1fadd/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc=
319319
k8s.io/kubernetes v1.11.7-beta.0.0.20181219023948-b875d52ea96d/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=
320320
k8s.io/kubernetes v1.11.8-beta.0.0.20190124204751-3a10094374f2/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=
321-
k8s.io/kubernetes v1.11.8-beta.0.0.20190208223919-e6f6fa1f2dd1 h1:7vUXpxFc5F5qLOKT07j2EZa1M+6xl6Es2WyRxleFCeM=
321+
k8s.io/kubernetes v1.11.8-beta.0.0.20190208223919-e6f6fa1f2dd1 h1:KXhECItYGlIqgwjGvb46A8eZ4qB3WgTmunAcEecVsE8=
322322
k8s.io/kubernetes v1.11.8-beta.0.0.20190208223919-e6f6fa1f2dd1/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=

manifests/0000_50_olm_10-olm-operators.configmap.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,10 @@ data:
6464
verbs:
6565
- get
6666
- list
67-
- watch
68-
- create
69-
- delete
70-
- patch
71-
- update
7267
deployments:
7368
- name: packageserver
7469
spec:
75-
replicas: 1
70+
replicas: 2
7671
strategy:
7772
type: RollingUpdate
7873
selector:

0 commit comments

Comments
 (0)