Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 556 for untainer (0.13 sec)

  1. pilot/pkg/controllers/untaint/nodeuntainter.go

    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/kube/kubetypes"
    	istiolog "istio.io/istio/pkg/log"
    )
    
    var log = istiolog.RegisterScope("untaint", "CNI node-untaint controller")
    
    const (
    	TaintName = "cni.istio.io/not-ready"
    )
    
    var istioCniLabels = map[string]string{
    	"k8s-app": "istio-cni-node",
    }
    
    type NodeUntainter struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inject/multi-container.yaml.injected

      selector:
        matchLabels:
          app: app
      strategy: {}
      template:
        metadata:
          annotations:
            istio.io/rev: default
            kubectl.kubernetes.io/default-container: name1
            kubectl.kubernetes.io/default-logs-container: name1
            prometheus.io/path: /stats/prometheus
            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    	s := newNodeUntainterTestServer(t)
    	s.addTaintedNodes(t, "node1", "node2")
    	s.addPod(t, "node2", true, cniPodLabels, "default")
    	s.addCniPod(t, "node1", true)
    
    	// wait for the untainter to run
    	s.assertNodeUntainted(t, "node1")
    	s.assertNodeTainted(t, "node2")
    }
    
    func (s *nodeTainterTestServer) assertNodeTainted(t *testing.T, node string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/only-proxy-container.yaml.injected

    John Howard <******@****.***> 1709052916 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tests/integration/ambient/untaint/untaint_test.go

    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			// make cni not deploy to one of the nodes
    			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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectSetTest.groovy

            def action = Mock(Action)
            container.beforeCollectionChanges(action)
    
            when:
            container.removeAll(["a", "b"])
    
            then:
            1 * action.execute(null)
            0 * _
        }
    
        def callsVetoActionOnceBeforeCollectionIsIntersected() {
            def action = Mock(Action)
            container.add("a")
            container.add("b")
            container.beforeCollectionChanges(action)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 23:50:58 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt

            }
    
            // regular syntax
            container.getByName("alice") {
                foo = "alice-foo"
            }
            container.create("bob") {
                foo = "bob-foo"
            }
            container.maybeCreate("john")
    
            container.named("marty")
            container.register("doc")
    
            // invoke syntax
            container {
                getByName("alice") {
                    foo = "alice-foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 22:58:28 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/labels_test.go

    		PodTerminationGracePeriod: pod.Spec.TerminationGracePeriodSeconds,
    		Hash:                      kubecontainer.HashContainer(container),
    		RestartCount:              restartCount,
    		TerminationMessagePath:    container.TerminationMessagePath,
    		PreStopHandler:            container.Lifecycle.PreStop,
    	}
    
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.InPlacePodVerticalScaling, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. pkg/kubelet/prober/prober.go

    // recordContainerEvent should be used by the prober for all container related events.
    func (pb *prober) recordContainerEvent(pod *v1.Pod, container *v1.Container, eventType, reason, message string, args ...interface{}) {
    	ref, err := kubecontainer.GenerateContainerRef(pod, container)
    	if err != nil {
    		klog.ErrorS(err, "Can't make a ref to pod and container", "pod", klog.KObj(pod), "containerName", container.Name)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseClasspathContainer container = project.classpathContainers.find { it.path == 'whenMergedContainerPath' }
    
            then:
            container != null
            container.exported == false
        }
    
        def "Classpath container can be configured"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top