Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 201 for hostNetwork (0.32 sec)

  1. pkg/controller/daemon/util/daemonset_util.go

    	})
    
    	v1helper.AddOrUpdateTolerationInPodSpec(spec, &v1.Toleration{
    		Key:      v1.TaintNodeUnschedulable,
    		Operator: v1.TolerationOpExists,
    		Effect:   v1.TaintEffectNoSchedule,
    	})
    
    	if spec.HostNetwork {
    		v1helper.AddOrUpdateTolerationInPodSpec(spec, &v1.Toleration{
    			Key:      v1.TaintNodeNetworkUnavailable,
    			Operator: v1.TolerationOpExists,
    			Effect:   v1.TaintEffectNoSchedule,
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 11:54:59 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // If this option is set, the ports that will be used must be specified.
      // Default to false.
      // +k8s:conversion-gen=false
      // +optional
      optional bool hostNetwork = 11;
    
      // Use the host's pid namespace.
      // Optional: Default to false.
      // +k8s:conversion-gen=false
      // +optional
      optional bool hostPID = 12;
    
      // Use the host's ipc namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go

    		`DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
    		`NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
    		`HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
    		`HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
    		`HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
    		`Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 57K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go

    		`DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
    		`NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
    		`HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
    		`HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
    		`HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
    		`Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    		hostNet              bool
    		expectPodDefault     bool
    		expectPodSpecDefault bool
    	}{{
    		name:                 "hostNetwork=false",
    		hostNet:              false,
    		expectPodDefault:     false,
    		expectPodSpecDefault: false,
    	}, {
    		name:                 "hostNetwork=true",
    		hostNet:              true,
    		expectPodDefault:     true,
    		expectPodSpecDefault: false,
    	}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/pod.go

    	// just in case the proxy ID is bad formatted
    	pods := pc.getPodsByIP(proxyIP)
    	switch len(pods) {
    	case 0:
    		return nil
    	case 1:
    		return pods[0]
    	default:
    		// This should only happen with hostNetwork pods, which cannot be proxy clients...
    		log.Errorf("unexpected: found multiple pods for proxy %v (%v)", proxy.ID, proxyIP)
    		// Try to handle it gracefully
    		for _, p := range pods {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. pkg/kube/inject/inject.go

    	// often results in routing failures within a node which can
    	// affect the network provider within the cluster causing
    	// additional pod failures.
    	if podSpec.HostNetwork {
    		return false
    	}
    
    	// skip special kubernetes system namespaces
    	for _, namespace := range ignored {
    		if metadata.Namespace == namespace {
    			return false
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    	pod := podWithUIDNameNsSpec("12345678", "hostnetwork", "new", v1.PodSpec{
    		HostNetwork: false,
    
    		Containers: []v1.Container{
    			{Name: "foo"},
    		},
    	})
    
    	kubelet.podManager.SetPods([]*v1.Pod{pod})
    	isTerminal, err := kubelet.SyncPod(context.Background(), kubetypes.SyncPodUpdate, pod, nil, &kubecontainer.PodStatus{})
    	assert.Error(t, err, "expected pod with hostNetwork=false to fail when network in error")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/etcd/local_test.go

          initialDelaySeconds: 10
          periodSeconds: 10
          timeoutSeconds: 15
        volumeMounts:
        - mountPath: %s/etcd
          name: etcd-data
        - mountPath: /etcd
          name: etcd-certs
      hostNetwork: true
      priority: 2000001000
      priorityClassName: system-node-critical
      securityContext:
        seccompProfile:
          type: RuntimeDefault
      volumes:
      - hostPath:
          path: /etcd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation.go

    	// For <reasons> we keep `.HostNetwork` in .SecurityContext on the internal
    	// version of Pod.
    	hostNetwork := false
    	if spec.SecurityContext != nil {
    		hostNetwork = spec.SecurityContext.HostNetwork
    	}
    
    	allErrors := field.ErrorList{}
    
    	if hostNetwork {
    		fldPath := fldPath.Child("containers")
    		for i, container := range spec.Containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top