Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for setHostnameAsFQDN (0.18 sec)

  1. pkg/kubelet/util/util_test.go

    		hostname:          "test.pod.hostname",
    		hostDomain:        "",
    		setHostnameAsFQDN: true,
    		expectedHostname:  "test.pod.hostname",
    		expectError:       false,
    	}, {
    		description:       "valid hostDomain, setHostnameAsFQDN false",
    		hostname:          "test.pod.hostname",
    		hostDomain:        "svc.subdomain.local",
    		setHostnameAsFQDN: false,
    		expectedHostname:  "test.pod.hostname",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 14:16:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/kubelet/util/util.go

    func GetNodenameForKernel(hostname string, hostDomainName string, setHostnameAsFQDN *bool) (string, error) {
    	kernelHostname := hostname
    	// FQDN has to be 64 chars to fit in the Linux nodename kernel field (specification 64 chars and the null terminating char).
    	const fqdnMaxLen = 64
    	if len(hostDomainName) > 0 && setHostnameAsFQDN != nil && *setHostnameAsFQDN {
    		fqdn := fmt.Sprintf("%s.%s", hostname, hostDomainName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 18:07:39 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go

    	TopologySpreadConstraints     []TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"`
    	SetHostnameAsFQDN             *bool                                        `json:"setHostnameAsFQDN,omitempty"`
    	OS                            *PodOSApplyConfiguration                     `json:"os,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)
  4. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		podHostname, podDomain, err := m.runtimeHelper.GeneratePodHostNameAndDomain(pod)
    		if err != nil {
    			return nil, err
    		}
    		podHostname, err = util.GetNodenameForKernel(podHostname, podDomain, pod.Spec.SetHostnameAsFQDN)
    		if err != nil {
    			return nil, err
    		}
    		podSandboxConfig.Hostname = podHostname
    	}
    
    	logDir := BuildPodLogsDirectory(m.podLogsDirectory, pod.Namespace, pod.Name, pod.UID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

                "nodeTaintsPolicy": "nodeTaintsPolicyValue",
                "matchLabelKeys": [
                  "matchLabelKeysValue"
                ]
              }
            ],
            "setHostnameAsFQDN": true,
            "os": {
              "name": "nameValue"
            },
            "hostUsers": true,
            "schedulingGates": [
              {
                "name": "nameValue"
              }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

                "nodeTaintsPolicy": "nodeTaintsPolicyValue",
                "matchLabelKeys": [
                  "matchLabelKeysValue"
                ]
              }
            ],
            "setHostnameAsFQDN": true,
            "os": {
              "name": "nameValue"
            },
            "hostUsers": true,
            "schedulingGates": [
              {
                "name": "nameValue"
              }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

              hostProcess: true
              runAsUserName: runAsUserNameValue
          serviceAccount: serviceAccountValue
          serviceAccountName: serviceAccountNameValue
          setHostnameAsFQDN: true
          shareProcessNamespace: true
          subdomain: subdomainValue
          terminationGracePeriodSeconds: 4
          tolerations:
          - effect: effectValue
            key: keyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

            hostProcess: true
            runAsUserName: runAsUserNameValue
        serviceAccount: serviceAccountValue
        serviceAccountName: serviceAccountNameValue
        setHostnameAsFQDN: true
        shareProcessNamespace: true
        subdomain: subdomainValue
        terminationGracePeriodSeconds: 4
        tolerations:
        - effect: effectValue
          key: keyValue
          operator: operatorValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

              hostProcess: true
              runAsUserName: runAsUserNameValue
          serviceAccount: serviceAccountValue
          serviceAccountName: serviceAccountNameValue
          setHostnameAsFQDN: true
          shareProcessNamespace: true
          subdomain: subdomainValue
          terminationGracePeriodSeconds: 4
          tolerations:
          - effect: effectValue
            key: keyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

                "nodeTaintsPolicy": "nodeTaintsPolicyValue",
                "matchLabelKeys": [
                  "matchLabelKeysValue"
                ]
              }
            ],
            "setHostnameAsFQDN": true,
            "os": {
              "name": "nameValue"
            },
            "hostUsers": true,
            "schedulingGates": [
              {
                "name": "nameValue"
              }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top