Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 228 for hostNetwork (0.73 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		// and HostNetwork is required to be set.
    		if !kubecontainer.AllContainersAreWindowsHostProcess(pod) {
    			return nil, fmt.Errorf("pod must not contain both HostProcess and non-HostProcess containers")
    		}
    
    		if !kubecontainer.IsHostNetworkPod(pod) {
    			return nil, fmt.Errorf("hostNetwork is required if Pod contains HostProcess containers")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/kubelet/util/pod_startup_latency_tracker.go

    		state.metricRecorded = true
    		// if is the first Pod with network track the start values
    		// these metrics will help to identify problems with the CNI plugin
    		if !pod.Spec.HostNetwork && !p.firstNetworkPodSeen {
    			metrics.FirstNetworkPodStartSLIDuration.Set(podStartSLOduration)
    			p.firstNetworkPodSeen = true
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 06:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // no volumes may be used. To allow all volumes you may use '*'.
      // +optional
      repeated string volumes = 5;
    
      // hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
      // +optional
      optional bool hostNetwork = 6;
    
      // hostPorts determines which host port ranges are allowed to be exposed.
      // +optional
      repeated HostPortRange hostPorts = 7;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/example/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.6K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/strategy.go

    	podSpecificFieldsSet["spec.serviceAccountName"] = string(pod.Spec.ServiceAccountName)
    	if pod.Spec.SecurityContext != nil {
    		podSpecificFieldsSet["spec.hostNetwork"] = strconv.FormatBool(pod.Spec.SecurityContext.HostNetwork)
    	} else {
    		// default to false
    		podSpecificFieldsSet["spec.hostNetwork"] = strconv.FormatBool(false)
    	}
    	podSpecificFieldsSet["status.phase"] = string(pod.Status.Phase)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. common-protos/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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. pkg/kube/util.go

    			}
    		}
    		oldSpec := pod.Spec
    		newSpec := corev1.PodSpec{
    			Containers:         containers,
    			ServiceAccountName: oldSpec.ServiceAccountName,
    			NodeName:           oldSpec.NodeName,
    			HostNetwork:        oldSpec.HostNetwork,
    			Hostname:           oldSpec.Hostname,
    			Subdomain:          oldSpec.Subdomain,
    		}
    		pod.Spec = newSpec
    		pod.Status.InitContainerStatuses = nil
    		pod.Status.ContainerStatuses = nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.conversion.go

    	out.ServiceAccountName = in.ServiceAccountName
    	// INFO: in.DeprecatedServiceAccount opted out of conversion generation
    	out.NodeName = in.NodeName
    	// INFO: in.HostNetwork opted out of conversion generation
    	// INFO: in.HostPID opted out of conversion generation
    	// INFO: in.HostIPC opted out of conversion generation
    	out.Hostname = in.Hostname
    	out.Subdomain = in.Subdomain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 11.4K bytes
    - Viewed (0)
  10. 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)
Back to top