Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for actuals (0.17 sec)

  1. cni/README.md

            - the file name can be explicitly set by `CNI_CONF_NAME` env var
            - the program inserts `CNI_NETWORK_CONFIG` into the `plugins` list in `/etc/cni/net.d/${CNI_CONF_NAME}`
        - the actual code is in pkg/install - including a readiness probe, monitoring.
        - it also sets up a UDS socket for istio-cni to send logs to this container.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. Makefile.core.mk

    warning+=Googlers: go/installdocker\#the-version-of-docker-thats-installed-is-old-eg-1126
    endif
    # The old docker issue manifests as not being able to run *any* binary. So we can test
    # by trying to run a trivial program and ensuring it actually ran. If not, emit our warning.
    # Note: we cannot do anything like $(shell docker version) to check, since that would also fail.
    CAN_RUN := $(shell echo "can I run echo")
    ifeq ($(CAN_RUN),)
    $(error $(warning))
    endif
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    		t.Fatalf("expected nsenterFunc to be called")
    	}
    	r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1]
    	if r.includeInboundPorts != "*" {
    		t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts)
    	}
    }
    
    func TestCmdAddTwoContainersWithStarInboundPort(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    
    	pod.Spec.Containers[0].Name = "mockContainer"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	waitForMockCalls()
    
    	assertPodAnnotated(t, client, pod)
    
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    }
    
    func TestExistingPodAddedWhenDualStack(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    		return err
    	}
    
    	// Create a kube client
    	client, err := newK8sClient(*conf)
    	if err != nil {
    		return err
    	}
    
    	// Actually do the add
    	if err := doAddRun(args, conf, client, IptablesInterceptRuleMgr()); err != nil {
    		return err
    	}
    	return pluginResponse(conf)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list_test.go

    			"istio-injection":            "enabled",
    		}),
    	}
    
    	client := kube.NewFakeClient(nss...)
    	expected := sets.New[string]("default", "no-ambient")
    	actual, err := getNamespaces(context.TODO(), client, "istio-system")
    	assert.NoError(t, err)
    	for _, ns := range actual {
    		assert.Equal(t, true, expected.Contains(ns.Name))
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher_test.go

    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    	assertPodAnnotated(t, client, pod)
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    }
    
    func TestCNIPluginServerPrefersCNIProvidedPodIP(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. manifests/charts/istio-cni/templates/daemonset.yaml

                # privileged is redundant with CAP_SYS_ADMIN
                # since it's redundant, hardcode it to `true`, then manually drop ALL + readd granular
                # capabilities we actually require
                capabilities:
                  drop:
                  - ALL
                  add:
                  # CAP_NET_ADMIN is required to allow ipset and route table access
                  - NET_ADMIN
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top