Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for HostAliases (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

              readOnly: true
              recursiveReadOnly: recursiveReadOnlyValue
              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: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

              readOnly: true
              recursiveReadOnly: recursiveReadOnlyValue
              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: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.Deployment.yaml

              readOnly: true
              recursiveReadOnly: recursiveReadOnlyValue
              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: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top