- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for untaint (1.99 sec)
-
pilot/pkg/controllers/untaint/nodeuntainter.go
if err != nil { return fmt.Errorf("failed to update node %v after adding taint: %v", node.Name, err) } log.Debugf("removed readiness taint from node %v", node.Name) return nil } // deleteTaint removes all the taints that have the same key and effect to given taintToDelete. func deleteTaint(taints []v1.Taint) []v1.Taint { newTaints := []v1.Taint{} for i := range taints { if taints[i].Key == TaintName { continue
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.9K bytes - Viewed (0) -
tests/integration/ambient/untaint/main_test.go
var taints []corev1.Taint for _, taint := range node.Spec.Taints { if taint.Key == "cni.istio.io/not-ready" { continue } taints = append(taints, taint) } if len(taints) != len(node.Spec.Taints) { node.Spec.Taints = taints _, err := nodeC.Update(context.TODO(), &node, metav1.UpdateOptions{}) if err != nil { panic(err) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 14:58:41 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/integration/ambient/untaint/untaint_test.go
taintNodes(ctx) // make sure all nodes were untainted retry.UntilSuccessOrFail(t, func() error { nodeC := ctx.Clusters().Default().Kube().CoreV1().Nodes() nodes, err := nodeC.List(ctx.Context(), metav1.ListOptions{}) if err != nil { return err } for _, node := range nodes.Items { for _, taint := range node.Spec.Taints { if taint.Key == "cni.istio.io/not-ready" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 1.5K bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter_test.go
} func (s *nodeTainterTestServer) addTaintedNodes(t *testing.T, nodes ...string) { t.Helper() for _, node := range nodes { node := generateNode(node, nil) // add our special taint node.Spec.Taints = append(node.Spec.Taints, corev1.Taint{ Key: TaintName, Value: "true", Effect: corev1.TaintEffectNoSchedule, }) s.nc.Create(node) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
// * Other types use "prioritized leader election", which isn't implemented for Lease GatewayDeploymentController = "istio-gateway-deployment" NodeUntaintController = "istio-node-untaint" ) // Leader election key prefix for remote istiod managed clusters const remoteIstiodPrefix = "^" type LeaderElection struct { namespace string name string runFns []func(stop <-chan struct{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration_test.go
t.Fatalf("unexpected error of BytesToInitConfiguration: %v\nconfig: %s", err, string(b)) } if tc.expectedTaintCnt != len(cfg.NodeRegistration.Taints) { t.Fatalf("unexpected taints count\nexpected: %d\ngot: %d\ntaints: %v", tc.expectedTaintCnt, len(cfg.NodeRegistration.Taints), cfg.NodeRegistration.Taints) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 09:17:03 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go
node := nodeInfo.Node() taint, isUntolerated := v1helper.FindMatchingUntoleratedTaint(node.Spec.Taints, pod.Spec.Tolerations, helper.DoNotScheduleTaintsFilterFunc()) if !isUntolerated { return nil } errReason := fmt.Sprintf("node(s) had untolerated taint {%s: %s}", taint.Key, taint.Value) return framework.NewStatus(framework.UnschedulableAndUnresolvable, errReason) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 9.2K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/subtyping/FirStandaloneNormalAnalysisSourceModuleSubtypingTestGenerated.java
runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanHumanListError.kt"); } @Test @TestMetadata("IntInt.kt") public void testIntInt() { runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/IntInt.kt"); } @Test @TestMetadata("IntString.kt") public void testIntString() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Apr 29 15:15:02 UTC 2024 - 5.3K bytes - Viewed (0) -
releasenotes/notes/48818.yaml
issue: - 48818 - 48286 # releaseNotes is a markdown listing of any user facing changes. This will appear in the # release notes. releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 1.2K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/subtyping/FirIdeDependentAnalysisSourceModuleSubtypingTestGenerated.java
runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanHumanListError.kt"); } @Test @TestMetadata("IntInt.kt") public void testIntInt() { runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/IntInt.kt"); } @Test @TestMetadata("IntString.kt") public void testIntString() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Apr 29 15:15:02 UTC 2024 - 5.2K bytes - Viewed (0)