-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
THREESCALE-10740 remove internal databases support #1060
Conversation
99c4929
to
0d2bae9
Compare
0d2bae9
to
27606ac
Compare
a855fd1
to
f43a63f
Compare
@@ -107,6 +110,51 @@ $(CONTROLLER_GEN): | |||
.PHONY: controller-gen | |||
controller-gen: $(CONTROLLER_GEN) | |||
|
|||
.PHONY: cluster/prepare/local | |||
cluster/prepare/local: kustomize cluster/prepare/project install cluster/create/system-redis cluster/create/backend-redis cluster/create/provision-database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MStokluska looks very nice, but seems missing "make download" step, need add download target here also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go mod download is not necessary. I never run it.
Verified according to Validation notes - 2 installations , with mysql and postgres.
~/go/3scale-operator oc get pod
NAME READY STATUS RESTARTS AGE
apicast-production-5797bc85b5-6xjqh 1/1 Running 0 5m15s
apicast-staging-5bb9d8c587-pd6pr 1/1 Running 0 5m15s
backend-cron-d889554d4-bhzwm 1/1 Running 0 6m5s
backend-listener-9448cc9c7-cckmt 1/1 Running 0 6m1s
backend-redis-664479c8bb-9vv8w 1/1 Running 0 9m39s
backend-worker-84798dc74b-d68vs 1/1 Running 0 6m1s
system-app-68fbb9c847-6g227 3/3 Running 0 4m44s
system-app-post-wv4l4 0/1 Completed 0 3m36s
system-app-pre-ck5kk 0/1 Completed 0 5m17s
system-memcache-b6565f76b-lnpck 1/1 Running 0 6m2s
system-postgresql-f45b75766-mz4mc 1/1 Running 0 9m38s
system-redis-55b7df87b-926b4 1/1 Running 0 9m41s
system-searchd-669dc7599c-rfvgc 1/1 Running 0 6m2s
system-searchd-manticore-reindex-cnbrk 0/1 Completed 0 5m18s
system-sidekiq-55b7d64fc7-kjvkx 1/1 Running 0 5m16s
zync-77555479f-744tg 1/1 Running 0 5m16s
zync-database-7c446ccdf-6wn68 1/1 Running 0 5m16s
zync-que-844ff6987b-7m6q8 1/1 Running 2 (5m ago) 5m16s
~/go/3scale-operator oc get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
apicast-production 1/1 1 1 5m21s
apicast-staging 1/1 1 1 5m21s
backend-cron 1/1 1 1 6m11s
backend-listener 1/1 1 1 6m10s
backend-redis 1/1 1 1 9m45s
backend-worker 1/1 1 1 6m10s
system-app 1/1 1 1 4m50s
system-memcache 1/1 1 1 6m8s
system-postgresql 1/1 1 1 9m44s
system-redis 1/1 1 1 9m47s
system-searchd 1/1 1 1 6m8s
system-sidekiq 1/1 1 1 5m22s
zync 1/1 1 1 5m22s
zync-database 1/1 1 1 5m22s
zync-que 1/1 1 1 5m22s
~/go/3scale-operator
|
/lgtm |
@@ -557,15 +557,11 @@ spec: | |||
- name: RELATED_IMAGE_SYSTEM_MEMCACHED | |||
value: mirror.gcr.io/library/memcached:1.5 | |||
- name: RELATED_IMAGE_BACKEND_REDIS | |||
value: quay.io/fedora/redis-6:latest | |||
value: quay.io/fedora/redis-7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we updating the redis image? Taught the flow was that by not updating to redis 7 we are forcing a move to external. Or is its just for development if so I don't think it should be in the CSV?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah is it for the preflights ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly, preflights, until we move to go libs we need to stick to these images :/
/lgtm |
Jira: https://issues.redhat.com/browse/THREESCALE-10740
Verification
Local installation
make cluster/prepare/local
make run
make cluster/prepare/local DEV_SYSTEM_DB_POSTGRES=true
OLM Upgrade with MySQL
cluster/prepare/project
Note that we are not doing an upgrade procedure here, just a hacky fix to bump redis to required versions.