- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 144 for HostAliases (0.14 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go
Tolerations []TolerationApplyConfiguration `json:"tolerations,omitempty"` HostAliases []HostAliasApplyConfiguration `json:"hostAliases,omitempty"` PriorityClassName *string `json:"priorityClassName,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:22:42 UTC 2022 - 23.9K bytes - Viewed (0) -
pkg/api/pod/warnings.go
} } // duplicate hostAliases (#91670, #58477) if len(podSpec.HostAliases) > 1 { items := sets.New[string]() for i, item := range podSpec.HostAliases { if items.Has(item.IP) { warnings = append(warnings, fmt.Sprintf("%s: duplicate ip %q", fieldPath.Child("spec", "hostAliases").Index(i).Child("ip"), item.IP)) } else { items.Insert(item.IP) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
} } buffer.Write(hostsEntriesFromHostAliases(hostAliases)) return buffer.Bytes() } func hostsEntriesFromHostAliases(hostAliases []v1.HostAlias) []byte { if len(hostAliases) == 0 { return []byte{} } var buffer bytes.Buffer buffer.WriteString("\n") buffer.WriteString("# Entries added by HostAliases.\n") // for each IP, write all aliases onto single line in hosts file
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/api/pod/warnings_test.go
}, { name: "duplicate hostAlias", template: &api.PodTemplateSpec{Spec: api.PodSpec{ HostAliases: []api.HostAlias{ {IP: "1.1.1.1"}, {IP: "1.1.1.1"}, {IP: "1.1.1.1"}, }}, }, expected: []string{ `spec.hostAliases[1].ip: duplicate ip "1.1.1.1"`, `spec.hostAliases[2].ip: duplicate ip "1.1.1.1"`, }, }, { name: "duplicate imagePullSecret",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
func TestNodeHostsFileContent(t *testing.T) { testCases := []struct { hostsFileName string hostAliases []v1.HostAlias rawHostsFileContent string expectedHostsFileContent string }{ { hostsFileName: "hosts_test_file1", hostAliases: []v1.HostAlias{}, rawHostsFileContent: `# hosts file for testing. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml
nameservers: - "8.8.8.8" options: - name: "ndots" value: "1" {{- if $.VM.IstioHost }} # Override the istiod host to force traffic through east-west gateway. hostAliases: - ip: {{ $.VM.IstioIP }} hostnames: - {{ $.VM.IstioHost }} {{- end }} # Disable service account mount, to mirror VM automountServiceAccountToken: false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json
"operator": "operatorValue", "value": "valueValue", "effect": "effectValue", "tolerationSeconds": 5 } ], "hostAliases": [ { "ip": "ipValue", "hostnames": [ "hostnamesValue" ] } ], "priorityClassName": "priorityClassNameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json
"operator": "operatorValue", "value": "valueValue", "effect": "effectValue", "tolerationSeconds": 5 } ], "hostAliases": [ { "ip": "ipValue", "hostnames": [ "hostnamesValue" ] } ], "priorityClassName": "priorityClassNameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml
name: nameValue readOnly: true subPath: subPathValue subPathExpr: subPathExprValue workingDir: workingDirValue hostAliases: - hostnames: - hostnamesValue ip: ipValue hostIPC: true hostNetwork: true hostPID: true hostUsers: true hostname: hostnameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 34.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml
mountPropagation: mountPropagationValue name: nameValue readOnly: true subPath: subPathValue subPathExpr: subPathExprValue workingDir: workingDirValue hostAliases: - hostnames: - hostnamesValue ip: ipValue hostIPC: true hostNetwork: true hostPID: true hostUsers: true hostname: hostnameValue imagePullSecrets:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 31.5K bytes - Viewed (0)