Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for config (0.37 sec)

  1. cni/pkg/plugin/plugin_test.go

    	args := buildCmdArgs(stdinData, testPodName, testNSName)
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    	if err == nil {
    		t.Fatal("expected to fail, but did not!")
    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)
  2. Makefile.core.mk

    	@go list -f '{{ join .Deps "\n" }}' -tags=agent \
    			./pilot/cmd/pilot-agent/app \
    			./pkg/istio-agent/... | sort | uniq |\
    		grep -Pv '^k8s.io/(utils|klog|apimachinery)/' |\
    		grep -Pv 'envoy/type/|envoy/annotations|envoy/config/core/' |\
    		grep -Pv 'envoy/extensions/transport_sockets/tls/' |\
    		grep -Pv 'envoy/service/discovery/v3' |\
    		grep -Pv 'envoy/extensions/wasm/' |\
    		grep -Pv 'envoy/extensions/filters/(http|network)/wasm/' |\
    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/nodeagent/informers.go

    import (
    	"context"
    	"fmt"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	klabels "k8s.io/apimachinery/pkg/labels"
    
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	eventTypeTag = monitoring.CreateLabel("type")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/ambient/util.go

    package ambient
    
    import (
    	"context"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    )
    
    func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool {
    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    	if client == nil {
    		return isZtunnel
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    	if conf.RawPrevResult != nil {
    		resultBytes, err := json.Marshal(conf.RawPrevResult)
    		if err != nil {
    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. manifests/charts/istio-cni/values.yaml

        provider: "default"
    
        # Configure ambient settings
        ambient:
          # If enabled, ambient redirection will be enabled
          enabled: false
          # Set ambient config dir path: defaults to /etc/ambient-config
          configDir: ""
          # If enabled, and ambient is enabled, DNS redirection will be enabled
          dnsCapture: false
          # UNSTABLE: If enabled, and ambient is enabled, enables ipv6 support
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  7. cni/pkg/constants/constants.go

    const (
    	// Install
    	MountedCNINetDir     = "mounted-cni-net-dir"
    	CNINetDir            = "cni-net-dir"
    	CNIConfName          = "cni-conf-name"
    	ChainedCNIPlugin     = "chained-cni-plugin"
    	CNINetworkConfigFile = "cni-network-config-file"
    	CNINetworkConfig     = "cni-network-config"
    	LogLevel             = "log-level"
    	KubeconfigFilename   = "kubecfg-file-name"
    	KubeconfigMode       = "kubeconfig-mode"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers_test.go

    	"time"
    
    	"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/istio/cni/pkg/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    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)
  9. cni/pkg/util/podutil.go

    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    )
    
    var annotationPatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":"%s"}}}`,
    	constants.AmbientRedirection,
    	constants.AmbientRedirectionEnabled,
    ))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      kubectl exec -it $ZTUNNEL -n istio-system -- curl localhost:15000/config_dump > ztunnel-config.json
      istioctl x ztunnel-config workloads --file ztunnel-config.json
    
      # Retrieve workload summary for a specific namespace
      istioctl x ztunnel-config workloads <ztunnel-name[.namespace]> --workloads-namespace foo
    `,
    		Aliases: []string{"w", "workloads"},
    		Args:    common.validateArgs,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
Back to top