integr8ly / 3scale-operator-old Goto Github PK
View Code? Open in Web Editor NEW3scale operator
3scale operator
The sync period is too often the operator seems to be constantly looping and reconciling (IE too often)
I think we should increase the sync time to ~10-15 mins rather than the default 60 seconds. Note the sync may not actually be the issue it may be something in the operator that is causing the reconcile to be called again and again
oc get threescale/3scale -n 3scale -o yaml | grep -A5 status
status:
phase: reconcile
ready: false
version: 2.2.0.GA
oc get po -n 3scale
NAME READY STATUS RESTARTS AGE
3scale-operator-5cbc5c4887-x6x8z 1/1 Running 0 7d
apicast-production-1-xgzzk 1/1 Running 5 7d
apicast-staging-1-7hsvl 1/1 Running 0 7d
apicast-wildcard-router-1-j62bf 1/1 Running 0 7d
backend-cron-1-p7rh9 1/1 Running 0 7d
backend-listener-1-kgcjt 1/1 Running 0 7d
backend-redis-1-6kpxm 1/1 Running 0 7d
backend-worker-1-mdm5b 1/1 Running 0 7d
system-app-1-hm4lr 3/3 Running 0 7d
system-memcache-1-7nkts 1/1 Running 0 7d
system-mysql-1-dt858 1/1 Running 0 7d
system-redis-1-vglft 1/1 Running 0 7d
system-resque-1-m4dr9 2/2 Running 0 7d
system-sidekiq-1-7bf44 1/1 Running 1 7d
system-sphinx-1-pj5jb 1/1 Running 2 7d
zync-1-wf9mr 1/1 Running 1 7d
zync-database-1-r7vd2 1/1 Running 0 7d
This is causing failures in integr8ly/installation where it's using this cmd in a loop to check if 3scale is ready
fatal: [127.0.0.1]: FAILED! => {"attempts": 50, "changed": false, "cmd": "sleep 5; oc get threescale/3scale -o template --template \\{\\{.status.ready\\}\\} --namespace 3scale | grep true", "delta": "0:00:05.146579", "end": "2018-11-14 16:46:08.099148", "failed": true, "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2018-11-14 16:46:02.952569", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.