-
Notifications
You must be signed in to change notification settings - Fork 5
deploy: support deploying behind a proxy #166
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
Conversation
csegarragonz
left a comment
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.
Left some comments. Also, make sure you run inv format-code before comitting.
|
Also, I now I said I don't care too much about the commit history, but using it to push changes to the remote machine is maybe a bit too much. Could you rebase and squash all your work commits into one? |
created proxy.py changed sc2.py for more error handling configured proxies, made more reproducible added containerd config fixed cleanup proxies and added configure all fixed cleanup proxy config function unexpected keyword debug fix added /dev/null to sudo tee and debug on for installing bbolt fixing function input quick save disabled proxy cleanup added -e to docker run fixed bbolt install last gcp, now made it reproducible added kubelet drop in proxy conf fixed download binary for recurring install_k8s function bug added additional ips to kubelet no proxy enabled k8s_create debug on added error prints inside turned knative debug on added docker sc2 registry cleanup code added error capture for metalLB in knative installation bypassing webhook validation issues caused by proxy by removing webhook config changed tasks/knative added debug lines in knative added knative manifest patching with proxy variable added kubectl proxy env var setting kubectl proxy doesnt work, patching instead commented out knative manifest change enabled manifest file change again got rid of knative manifest changing again, mightve been *svc increased pod waiting time to 15 secs resetted sleep timer commented out knative install commented out added env var for quay.io added tsak added taskl added debug added debug removed sc2.whatever added new function to proxy.py added ctx param imported it directly into sc2.py for invoke fixed it again printed it in proxy-check changed proxy function, changed install bbolt part, etc named changed so had to change that turned debug on for bbolt got rid of check_return_proxy because it caused errors in bbolt cleaning sc2 for PR cleaned up more fixed dict keys in proxy.conf added proxy config methods fixed docker config dict keys testing out if docker proxy -e really necesary fixed bits here and there testing if we need quay.io builder tag as env var deleted quayio image name changed CSG to SC2 in registry.py
7645ecb to
7815b64
Compare
csegarragonz
left a comment
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.
It's looking much better now! Just a few comments, and then we'll wait for Knative to be ready.
|
|
||
| run("sudo systemctl daemon-reload", shell=True, check=True) | ||
| run("sudo systemctl restart docker", shell=True, check=True) | ||
| run("sudo systemctl restart docker", shell=True, check=True) |
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.
@yoshiisato check this diff file. I am pretty sure you need to change the configuration of your text editor.
Added
proxy.pyandproxy.mdto check for pre-existing proxy environment variables and use it to configure containerd, docker, and kubelet services.