Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 708 for untainer (0.17 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. 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)
  3. 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)
  4. manifests/charts/istiod-remote/values.yaml

        # The PSP controller would add corresponding annotations to the pod spec for each container. However, this happens before
        # the inject adds additional containers, so we must specify them explicitly here. With the above example, we could specify:
        # injectedAnnotations:
        #   container.apparmor.security.beta.kubernetes.io/istio-init: runtime/default
        #   container.apparmor.security.beta.kubernetes.io/istio-proxy: runtime/default
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/values.yaml

        # The PSP controller would add corresponding annotations to the pod spec for each container. However, this happens before
        # the inject adds additional containers, so we must specify them explicitly here. With the above example, we could specify:
        # injectedAnnotations:
        #   container.apparmor.security.beta.kubernetes.io/istio-init: runtime/default
        #   container.apparmor.security.beta.kubernetes.io/istio-proxy: runtime/default
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            when:
            def plugin = container.apply(plugin1Class)
    
            then:
            plugin.is(container.apply("plugin"))
            plugin.is(container.apply(plugin1Class))
    
            plugin.is(container.findPlugin(plugin1Class))
            plugin.is(container.findPlugin("plugin"))
    
            !container.findPlugin(UnknownPlugin)
            !container.findPlugin("unknown")
    
            container.hasPlugin("plugin")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            when:
            def p1 = container.register("task")
            def p2 = container.named("task")
            def replaced = container.replace("task")
    
            then:
            p1.get() == p2.get()
            p1.get() == replaced
            p1.get() == container.getByName("task")
        }
    
        void "fails if unknown task is requested"() {
            when:
            container.getByName("unknown")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  8. pkg/kubelet/container/helpers_test.go

    						{Name: "plain-ole-container"},
    					},
    					InitContainers: []v1.Container{
    						{Name: "init-container"},
    					},
    				},
    			},
    			haveName:      "init-container",
    			wantContainer: &v1.Container{Name: "init-container"},
    		},
    		{
    			name: "ephemeral container",
    			havePod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{Name: "plain-ole-container"},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. pkg/kubelet/container/helpers.go

    			return false
    		}
    	}
    	return true
    }
    
    // HashContainer returns the hash of the container. It is used to compare
    // the running container with its desired spec.
    // Note: remember to update hashValues in container_hash_test.go as well.
    func HashContainer(container *v1.Container) uint64 {
    	hash := fnv.New32a()
    	containerJSON, _ := json.Marshal(pickFieldsToHash(container))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	ephemeralContainer *v1.EphemeralContainer
    }
    
    func containerStartSpec(c *v1.Container) *startSpec {
    	return &startSpec{container: c}
    }
    
    func ephemeralContainerStartSpec(ec *v1.EphemeralContainer) *startSpec {
    	return &startSpec{
    		container:          (*v1.Container)(&ec.EphemeralContainerCommon),
    		ephemeralContainer: ec,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top