- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 145 for hostNetwork (0.16 sec)
-
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) -
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) -
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) -
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) -
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/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) -
pkg/apis/apps/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K 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)