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

LoadBalancer task always run during cluster update #9992

Closed
hakman opened this issue Sep 25, 2020 · 5 comments
Closed

LoadBalancer task always run during cluster update #9992

hakman opened this issue Sep 25, 2020 · 5 comments
Labels
blocks-next kind/bug Categorizes issue or PR as related to a bug.

Comments

@hakman
Copy link
Member

hakman commented Sep 25, 2020

1. What kops version are you running? The command kops version, will display
this information.

$ kops update cluster

...
  LoadBalancer/api.<cluster_name>
  	ForAPIServer        	 false -> true
...

2. What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.

Version 1.19.0-alpha.4

3. What cloud provider are you using?

AWS

4. What commands did you run? What is the simplest way to reproduce this issue?

$ kops update cluster

5. What happened after the commands executed?

n/a

6. What did you expect to happen?

I would expect the task to only run once, not on every update.

7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml to display your cluster manifest.
You may want to remove your cluster name and other sensitive information.

8. Please run the commands with most verbose logging by adding the -v 10 flag.
Paste the logs into this report, or in a gist and provide the gist link here.

n/a

9. Anything else do we need to know?

/cc @johngmyers @justinsb

@hakman hakman added kind/bug Categorizes issue or PR as related to a bug. blocks-next labels Sep 25, 2020
@rifelpet
Copy link
Member

Independent of this specific bug, I was thinking it would be useful to perform various API changes and confirm that a second update cluster doesn't report any changes. We do something similar in the lifecycle integration tests but that's only for cluster creation. If we could set/unset every optional field in ClusterSpec and InstanceGroupSpec, that would give us a lot more coverage into related bugs and gaps in reconciliation logic for cloud providers. Maybe I'll spin this off into a separate issue.

@rifelpet
Copy link
Member

Looks related to https://github.com/kubernetes/kops/pull/9450/files

We probably need to be setting ForAPIServer in awstasks' LoadBalancer.Find()

justinsb added a commit to justinsb/kops that referenced this issue Oct 23, 2020
It's a system field, we should treat the value as matching.

Issue kubernetes#9992
hakman pushed a commit to hakman/kops that referenced this issue Oct 23, 2020
It's a system field, we should treat the value as matching.

Issue kubernetes#9992
@rifelpet
Copy link
Member

@hakman can this be closed out?

@hakman
Copy link
Member Author

hakman commented Oct 31, 2020

I think so.
/close

@k8s-ci-robot
Copy link
Contributor

@hakman: Closing this issue.

In response to this:

I think so.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocks-next kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants