Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for hostNetwork (0.15 sec)

  1. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    			PortMappings: portMappings,
    			HostNetwork:  hostNetwork,
    		},
    	}
    }
    
    func newFakeCheckpointRemoteV1(name string, portMappings []*v1.PortMapping, hostNetwork bool) Checkpoint {
    	return &v1.CheckpointData{
    		Version: "v1",
    		Name:    name,
    		Data: &v1.Data{
    			PortMappings: portMappings,
    			HostNetwork:  hostNetwork,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    					Name: containerName,
    				}},
    			},
    			expectedWindowsConfig: nil,
    			expectedError:         fmt.Errorf("hostNetwork is required if Pod contains HostProcess containers"),
    		},
    		{
    			name: "Pod with HostProcess containers and HostNetwork set",
    			podSpec: &v1.PodSpec{
    				HostNetwork: true,
    				SecurityContext: &v1.PodSecurityContext{
    					WindowsOptions: &v1.WindowsSecurityContextOptions{
    						HostProcess: &trueVar,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/api/testing/backward_compatibility_test.go

    		absentKeys   []string
    	}{
    		{
    			name: "hostNetwork = true",
    			input: `
    {
    	"kind":"Pod",
    	"apiVersion":"v1",
    	"metadata":{"name":"my-pod-name", "namespace":"my-pod-namespace"},
    	"spec": {
    		"hostNetwork": true,
    		"containers":[{
    			"name":"a",
    			"image":"my-container-image"
    		}]
    	}
    }
    `,
    			expectedKeys: map[string]string{
    				"spec.hostNetwork": "true",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 01 18:45:58 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. pkg/kubelet/network/dns/dns_test.go

    			dnsPolicy:       v1.DNSDefault,
    			expectedDNSType: podDNSHost,
    		},
    		{
    			desc:            "valid DNSDefault with hostnetwork",
    			hostNetwork:     true,
    			dnsPolicy:       v1.DNSDefault,
    			expectedDNSType: podDNSHost,
    		},
    		{
    			desc:            "DNSClusterFirst with hostnetwork, fallback to DNSDefault",
    			hasClusterDNS:   true,
    			hostNetwork:     true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/util/util_test.go

    			},
    			expectedChanged:   true,
    			expectedAttempt:   2,
    			expectedSandboxID: "sandboxID2",
    		},
    		"Pod with ready sandbox status but network namespace mismatch": {
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					HostNetwork: true,
    				},
    			},
    			status: &kubecontainer.PodStatus{
    				SandboxStatuses: []*runtimeapi.PodSandboxStatus{
    					{
    						Id: "sandboxID1",
    						Linux: &runtimeapi.LinuxPodSandboxStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/hello-host-network.yaml

        spec:
          containers:
            - name: hello-host-network
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
                - name: http
                  containerPort: 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 537 bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/hello-host-network-with-ns.yaml.injected

          containers:
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello-host-network
            ports:
            - containerPort: 80
              name: http
            resources: {}
          hostNetwork: true
    status: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 14 17:26:47 UTC 2021
    - 648 bytes
    - Viewed (0)
  8. pkg/securitycontext/accessors_test.go

    				continue
    			}
    		}
    
    		// HostNetwork
    		{
    			modifiedSC := nonNilSC(tc.newSC())
    			m := NewPodSecurityContextMutator(tc.newSC())
    			modifiedSC.HostNetwork = !modifiedSC.HostNetwork
    			m.SetHostNetwork(!m.HostNetwork())
    			if !reflect.DeepEqual(m.PodSecurityContext(), modifiedSC) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  9. cluster/images/etcd-version-monitor/etcd-version-monitor.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: etcd-version-monitor
      namespace: kube-system
    spec:
      hostNetwork: true
      containers:
      - name: etcd-version-monitor
        image: registry.k8s.io/etcd-version-monitor:0.1.3
        command:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 255 bytes
    - Viewed (0)
  10. releasenotes/notes/we-memory-leaks.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue: [47893]
    releaseNotes:
      - |
        **Fixed** a memory leak when `hostNetwork` pods scale up and down.
      - |
        **Fixed** a memory leak when `WorkloadEntries` change their IP address.
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 21 22:28:50 UTC 2023
    - 325 bytes
    - Viewed (0)
Back to top