Skip to content
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

Temp fix for kubectl apply error related to changing service from loadbalancer to clusterip. #183

Merged

Conversation

artsyjian
Copy link
Contributor

https://artsy.slack.com/archives/CA8SANW3W/p1592403810187300
kubernetes/kubectl#221
https://artsyproduct.atlassian.net/browse/PLATFORM-2371

Error was:

#!/bin/bash -eo pipefail 
hokusai staging deploy $CIRCLE_SHA1 --update-config 
Deploying sha256:93c64c7cd746a6865e31b6eb2c5fbfc16ce611f717b20a3576f08dd8dd066778 to staging...
 

 
Patching Deployments in spec /root/project/hokusai/staging.yml with image digest sha256:93c64c7cd746a6865e31b6eb2c5fbfc16ce611f717b20a3576f08dd8dd066778
 

 
Applying patched spec /root/project/.hokusai-tmp/tmpbLYIkl...
 

 
deployment.extensions "doppler-web" configured
 
ingress.extensions "doppler" unchanged
 
The Service "doppler-web" is invalid: spec.ports[0].nodePort: Forbidden: may not be used when `type` is 'ClusterIP'
 
ERROR: Command 'kubectl --context staging apply -f /root/project/.hokusai-tmp/tmpbLYIkl' returned non-zero exit status 1
 
 
Exited with code exit status 1 
CircleCI received exit code 1 

@artsyjian artsyjian merged commit adb83b4 into master Jun 17, 2020
@artsy-peril artsy-peril bot mentioned this pull request Jun 17, 2020
@joeyAghion joeyAghion deleted the temp-fix-kubectl-apply-error-service-nodeport-to-clusterip branch November 18, 2021 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants