- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for hostNetwork (0.19 sec)
-
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) -
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/apis/batch/validation/validation_test.go
validHostNetPodTemplateSpec := func() api.PodTemplateSpec { spec := getValidPodTemplateSpecForGenerated(validGeneratedSelector) spec.Spec.SecurityContext = &api.PodSecurityContext{ HostNetwork: true, } spec.Spec.Containers[0].Ports = []api.ContainerPort{{ ContainerPort: 12345, Protocol: api.ProtocolTCP, }} return spec }() successCases := map[string]struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
Propagation: propagation, }) } if mountEtcHostsFile { hostAliases := pod.Spec.HostAliases hostsMount, err := makeHostsMount(podDir, podIPs, hostName, hostDomain, hostAliases, pod.Spec.HostNetwork) if err != nil { return nil, cleanupAction, err } mounts = append(mounts, *hostsMount) } return mounts, cleanupAction, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 229.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
Status: v1.NodeStatus{ Addresses: tc.nodeAddresses, }, }, }} pod := podWithUIDNameNs("12345", "test-pod", "test-namespace") pod.Spec.HostNetwork = true criStatus := &kubecontainer.PodStatus{ ID: pod.UID, Name: pod.Name, Namespace: pod.Namespace, IPs: tc.criPodIPs, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
prometheus.io/scrape: 'true' prometheus.io/port: "15014" prometheus.io/path: '/metrics' # Custom annotations {{- if .Values.cni.podAnnotations }} {{ toYaml .Values.cni.podAnnotations | indent 8 }} {{- end }} spec: {{if .Values.cni.ambient.enabled }}hostNetwork: true{{ end }} nodeSelector: kubernetes.io/os: linux # Can be configured to allow for excluding instio-cni from being scheduled on specified nodes {{- with .Values.cni.affinity }} affinity: {{- toYaml . | nindent 8 }} {{- end }} tolerations: # Make...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0)