- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for CNI (0.16 sec)
-
cni/test/install_cni.go
defaultFileMode = 0o644 cniConfName = "CNI_CONF_NAME" chainedCNIPluginName = "CHAINED_CNI_PLUGIN" cniNetworkConfigName = "CNI_NETWORK_CONFIG" cniNetworkConfig = `{ "cniVersion": "0.3.1", "type": "istio-cni", "log_level": "info", "kubernetes": { "kubeconfig": "__KUBECONFIG_FILEPATH__", "cni_bin_dir": "/opt/cni/bin", "exclude_namespaces": [ "istio-system" ] } } `
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
if err != nil { log.Errorf("Failed to unmarshal CNI plugin event: %v", err) return msg, err } log.Debugf("Deserialized CNI plugin event: %+v", msg) return msg, nil } func (s *CniPluginServer) ReconcileCNIAddEvent(ctx context.Context, addCmd CNIPluginAddEvent) error { log := log.WithLabels("cni-event", addCmd) log.Debugf("netns: %s", addCmd.Netns)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
import ( "context" "encoding/json" "fmt" "net" "net/netip" "testing" 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/test/util/assert" ) func TestProcessAddEventGoodPayload(t *testing.T) { 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) -
cni/pkg/plugin/plugin_cni_conformance.go
// limitations under the License. package plugin import ( "testing" "github.com/containernetworking/cni/pkg/types" ) // Validate k8sArgs struct works for unmarshalling kubelet args // This is important for CNI plugin conformance func TestLoadArgs(t *testing.T) { kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 1.4K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
"os" "path/filepath" "sync/atomic" 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/util" "istio.io/istio/pkg/kube" ) type MeshDataplane interface { // called first, (even before Start()).
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
return nil, err } installLog.Infof("Using CNI config template from %s", template.cniNetworkConfigFile) return cniConfig, nil } if len(template.cniNetworkConfig) > 0 { installLog.Infof("Using CNI config template from CNI_NETWORK_CONFIG environment variable.") return []byte(template.cniNetworkConfig), nil } return nil, fmt.Errorf("need CNI_NETWORK_CONFIG or CNI_NETWORK_CONFIG_FILE to be set") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
"k8s.io/apimachinery/pkg/types" "istio.io/istio/cni/pkg/ipset" "istio.io/istio/cni/pkg/iptables" "istio.io/istio/cni/pkg/util" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/util/sets" dep "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) var log = istiolog.RegisterScope("ambient", "ambient controller")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/log/uds.go
package log import ( "encoding/json" "fmt" "io" "net/http" "strings" "sync" "time" "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/log" "istio.io/istio/pkg/network" "istio.io/istio/pkg/uds" ) var pluginLog = log.RegisterScope("cni", "CNI network plugin") type UDSLogger struct { mu sync.Mutex loggingServer *http.Server } type cniLog struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 01:05:12 GMT 2023 - 3.3K bytes - Viewed (0) -
cni/pkg/cmd/root.go
"fmt" "os" "strings" "github.com/spf13/cobra" "github.com/spf13/viper" "istio.io/istio/cni/pkg/config" "istio.io/istio/cni/pkg/constants" "istio.io/istio/cni/pkg/install" udsLog "istio.io/istio/cni/pkg/log" "istio.io/istio/cni/pkg/monitoring" "istio.io/istio/cni/pkg/nodeagent" "istio.io/istio/cni/pkg/repair" "istio.io/istio/pkg/cmd" "istio.io/istio/pkg/collateral" "istio.io/istio/pkg/ctrlz"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
package log import ( "io" "os" "path/filepath" "strings" "testing" "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/log" "istio.io/istio/pkg/test/util/assert" ) func TestUDSLog(t *testing.T) { // Start UDS log server udsSockDir := t.TempDir() udsSock := filepath.Join(udsSockDir, "cni.sock") logger := NewUDSLogger()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0)