Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for star (0.12 sec)

  1. cni/pkg/nodeagent/server_test.go

    	podIP := netip.MustParseAddr("99.9.9.1")
    	podIPs := []netip.Addr{podIP}
    
    	server := &fakeServer{}
    	server.On("AddPodToMesh",
    		fakeCtx,
    		pod,
    		podIPs,
    		"",
    	).Return(nil)
    
    	server.Start(fakeCtx)
    	m := meshDataplane{
    		kubeClient: fakeClientSet,
    		netServer:  server,
    	}
    
    	err := m.AddPodToMesh(fakeCtx, pod, podIPs, "")
    	assert.NoError(t, err)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/podcgroupns_linux.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 814 bytes
    - Viewed (0)
  3. manifests/addons/values-kiali.yaml

    deployment:
      pod_labels:
        sidecar.istio.io/inject: "false"
      accessible_namespaces:
      - '**'
      ingress_enabled: false
    login_token:
      signing_key: CHANGEME00000000
    external_services:
      # Kiali will not start up without tracing service. We don't want to require it.
      tracing:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 385 bytes
    - Viewed (0)
  4. common/config/.yamllint.yml

    # "make update-common".
    
    rules:
      braces: disable
      brackets: disable
      colons: enable
      commas: disable
      comments: disable
      comments-indentation: disable
      document-end: disable
      document-start: disable
      empty-lines: disable
      empty-values: disable
      hyphens: enable
      indentation: disable
      key-duplicates: enable
      key-ordering: disable
      line-length: disable
      new-line-at-end-of-file: disable
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Sep 30 23:53:31 GMT 2020
    - 863 bytes
    - Viewed (1)
  5. cni/pkg/repair/repair.go

    func StartRepair(ctx context.Context, cfg config.RepairConfig) {
    	if !cfg.Enabled {
    		repairLog.Info("CNI repair is disable.")
    		return
    	}
    	repairLog.Info("Start CNI race condition repair.")
    
    	client, err := clientSetup()
    	if err != nil {
    		repairLog.Fatalf("CNI repair could not construct clientSet: %s", err)
    	}
    
    	rc, err := NewRepairController(client, cfg)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. manifests/charts/gateway/templates/deployment.yaml

            {{- toYaml .Values.securityContext | nindent 8 }}
          {{- else }}
            # Safe since 1.22: https://github.com/kubernetes/kubernetes/pull/103326
            sysctls:
            - name: net.ipv4.ip_unprivileged_port_start
              value: "0"
          {{- end }}
          {{- with .Values.volumes }}
          volumes:
            {{ toYaml . | nindent 8 }}
          {{- end }}
          containers:
            - name: istio-proxy
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. common/scripts/kind_provisioner.sh

    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    start, end = int(net_len / 4 * 3), net_len
    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    function ips_to_cidrs() {
      IP_RANGE_START="$1"
      IP_RANGE_END="$2"
      python3 - <<EOF
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  8. cni/pkg/plugin/sidecar_iptables_linux.go

    	netNs, err := getNs(netns)
    	if err != nil {
    		err = fmt.Errorf("failed to open netns %q: %s", netns, err)
    		return err
    	}
    	defer netNs.Close()
    
    	return netNs.Do(func(_ ns.NetNS) error {
    		log.Infof("============= Start iptables configuration for %v =============", podName)
    		defer log.Infof("============= End iptables configuration for %v =============", podName)
    		return cmd.ProgramIptables(cfg)
    	})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cni/pkg/log/uds_test.go

    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()
    	pluginLog.SetOutputLevel(log.DebugLevel) // this will be configured by global.logging.level
    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)
  10. cni/pkg/nodeagent/informers.go

    		"The total number of node agent reconcile events.",
    	)
    )
    
    type K8sHandlers interface {
    	GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error)
    	GetAmbientPods() []*corev1.Pod
    	Start()
    }
    
    type InformerHandlers struct {
    	ctx             context.Context
    	dataplane       MeshDataplane
    	systemNamespace string
    
    	queue      controllers.Queue
    	pods       kclient.Client[*corev1.Pod]
    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)
Back to top