Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for cni0 (0.02 sec)

  1. cni/pkg/nodeagent/cni-watcher_test.go

    	"strings"
    	"testing"
    
    	"github.com/stretchr/testify/mock"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/api/label"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestProcessAddEventGoodPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_dryrun_test.go

    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"),
    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    		},
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. cni/test/install_k8s_test.go

    // limitations under the License.
    
    // This tests the k8s installation.  It validates the CNI plugin configuration
    // and the existence of the CNI plugin binary locations.
    package install_test
    
    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    	"istio.io/istio/pkg/test/env"
    )
    
    type testCase struct {
    	name             string
    	chainedCNIPlugin bool
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 23:59:49 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server.go

    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var log = scopes.CNIAgent
    
    type MeshDataplane interface {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    				log.Infof("pod update event skipped: added/labeled by CNI plugin")
    				return nil
    			}
    
    			// netns == ""; at this point netns should have been added via the initial snapshot,
    			// or via the cni plugin. If it happens to get here before the cni plugin somehow,
    			// then we will just fail to add the pod to the mesh, and it will be retried later when cni plugin adds it.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. manifests/charts/README.md

    ISTIO_CNI_ARGS=
    # TODO: What k8s data can we use for this check for whether GKE?
    if [[ "${ISTIO_CLUSTER_ISGKE}" == "true" ]]; then
        ISTIO_CNI_ARGS="--set cni.cniBinDir=/home/kubernetes/bin"
    fi
    iop kube-system istio-cni $IBASE/istio-cni/ ${ISTIO_CNI_ARGS}
    ```
    
    TODO. It is possible to add Istio-CNI later, and gradually migrate.
    
    ### Install Control plane
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 16:56:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. Makefile.core.mk

      ./samples/extauthz/cmd/extauthz
    
    # These are binaries that require Linux to build, and should
    # be skipped on other platforms. Notably this includes the current Linux-only Istio CNI plugin
    LINUX_AGENT_BINARIES:=./cni/cmd/istio-cni \
      ./cni/cmd/install-cni \
      $(AGENT_BINARIES)
    
    BINARIES:=$(STANDARD_BINARIES) $(AGENT_BINARIES) $(LINUX_AGENT_BINARIES)
    
    # List of binaries that have their size tested
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    	"fmt"
    	"net/netip"
    	"strconv"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/pkg/slices"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    // Adapts CNI to ztunnel server. decoupled from k8s for easier integration testing.
    type NetServer struct {
    	ztunnelServer      ZtunnelServer
    	currentPodSnapshot *podNetnsCache
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package iptables
    
    import (
    	"net/netip"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"istio.io/istio/cni/pkg/scopes"
    	testutil "istio.io/istio/pilot/test/util"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func TestIptables(t *testing.T) {
    	cases := []struct {
    		name        string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables_e2e_test.go

    	// Create a new network namespace. This will have the 'lo' interface ready but nothing else.
    	_ "github.com/howardjohn/unshare-go/netns"
    	"github.com/howardjohn/unshare-go/userns"
    
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/pkg/test/util/assert"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func TestIptablesCleanRoundTrip(t *testing.T) {
    	setup(t)
    	tt := struct {
    		name   string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top