- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 85 for hostNetwork (0.13 sec)
-
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) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/apis/example/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 - 10.6K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/kubelet/container/helpers.go
} } // IsHostNetworkPod returns whether the host networking requested for the given Pod. // Pod must not be nil. func IsHostNetworkPod(pod *v1.Pod) bool { return pod.Spec.HostNetwork } // ConvertPodStatusToRunningPod returns Pod given PodStatus and container runtime string. // TODO(random-liu): Convert PodStatus to running Pod, should be deprecated soon
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod_test.go
createPod("128.0.0.1", "new-pod") assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), []types.NamespacedName{{Name: "new-pod", Namespace: "ns"}}) // A new pod is created with the same IP. This happens with hostNetwork, or maybe we miss an update somehow. createPod("128.0.0.1", "another-pod") assert.Equal(t, sets.New(c.pods.getPodKeys("128.0.0.1")...), sets.New( types.NamespacedName{Name: "new-pod", Namespace: "ns"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 12.3K bytes - Viewed (0)