-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Removed default hostname-override #10595
Removed default hostname-override #10595
Conversation
Hi @DOboznyi. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/retest |
@olemarkus why such tests failing? How can I fix them? |
Run |
/hack/update-expected |
It's a script found in the git repos |
/retest |
ba40cc8
to
228493b
Compare
228493b
to
4a1ec5c
Compare
4a1ec5c
to
afc5b57
Compare
e1aa07a
to
1ee1138
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: HELLRAZOR6666 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a160531
to
a073a0d
Compare
a073a0d
to
8243566
Compare
@olemarkus CI tests removed, could you help with e2e failures? |
The cert is wrong. You see the error:
Further down there is
Use r |
@@ -484,79 +481,16 @@ func (c *NodeupModelContext) BuildPrivateKeyTask(ctx *fi.ModelBuilderContext, na | |||
// NodeName returns the name of the local Node, as it will be created in k8s | |||
func (c *NodeupModelContext) NodeName() (string, error) { |
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.
This function need to return FQDN as it is used for the node cert name.See my previous 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.
Okay, i'll return code which return FQDN, thanks
@olemarkus seems as previous problem gone. Are the other tests critical? |
/retest |
1 similar comment
/retest |
if c.IsMaster && c.Cluster.Spec.MasterKubelet.HostnameOverride != "" { | ||
hostnameOverride = c.Cluster.Spec.MasterKubelet.HostnameOverride | ||
} | ||
hostnameOverride := string('@') + c.Cluster.Spec.CloudProvider |
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.
I assume this is just temporary for testing?
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.
How should i change this part?
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.
Isn't the goal of completely getting rid of hostnameOverride?
pkg/model/components/kubelet.go
Outdated
@@ -208,6 +195,9 @@ func (b *KubeletOptionsBuilder) BuildOptions(o interface{}) error { | |||
if _, found := clusterSpec.Kubelet.FeatureGates["CSIMigrationAWS"]; !found { | |||
clusterSpec.Kubelet.FeatureGates["CSIMigrationAWS"] = "true" | |||
} | |||
if _, found := clusterSpec.Kubelet.FeatureGates["CSIMigrationAWSComplete"]; !found { | |||
clusterSpec.Kubelet.FeatureGates["CSIMigrationAWSComplete"] = "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.
Can you rebase this against master? If not you may get into conflicts.
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.
Fixed
Fixed tests Fix evaluateHostnameOverride Deprecated hostnameOverride for kubelet Removed hostname-override for kube-proxy Changed hostname to actual value Remove EvaluateHostnameOverride Update test Update bazel Removed tests Signed-off-by: Dmytro Oboznyi <dmytro.oboznyi@syncier.com>
Signed-off-by: Dmytro Oboznyi <dmytro.oboznyi@syncier.com>
e1d06b7
to
0aa1be1
Compare
if c.IsMaster && c.Cluster.Spec.MasterKubelet.HostnameOverride != "" { | ||
hostnameOverride = c.Cluster.Spec.MasterKubelet.HostnameOverride | ||
} | ||
hostnameOverride := string('@') + c.Cluster.Spec.CloudProvider | ||
|
||
nodeName, err := EvaluateHostnameOverride(hostnameOverride) |
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.
Is this now the only call in the code going to EvaluateHostnameOverride
? if so, I think you can inline the function here. NodeName
is a much more appropriate name than EvaluateHostnameOverride
for what this function is used for now.
wdyt?
@DOboznyi: PR needs rebase. 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. |
Just wanted to leave a comment here that this may have gone against what upstream was thinking. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
@DOboznyi: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
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. |
There's no sense in hostname-override because it's not working when cloud-provider flag set.
Fix #10590
Signed-off-by: Dmytro Oboznyi dmytro.oboznyi@syncier.com