- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WriteStaticPodToDisk (0.25 sec)
-
cmd/kubeadm/app/util/staticpod/utils.go
} pod2, ok := obj.(*v1.Pod) if !ok { return pod, errors.Wrap(err, "patched manifest is not a valid Pod object") } return pod2, nil } // WriteStaticPodToDisk writes a static pod file to disk func WriteStaticPodToDisk(componentName, manifestDir string, pod v1.Pod) error { // creates target folder if not already exists if err := os.MkdirAll(manifestDir, 0700); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests.go
return errors.Wrapf(err, "failed to patch static Pod manifest file for %q", componentName) } spec = *patchedSpec } // writes the StaticPodSpec to disk if err := staticpodutil.WriteStaticPodToDisk(componentName, manifestDir, spec); err != nil { return errors.Wrapf(err, "failed to create static pod manifest file for %q", componentName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 17.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/etcd/local.go
return errors.Wrapf(err, "failed to patch static Pod manifest file for %q", kubeadmconstants.Etcd) } spec = *patchedSpec } // writes etcd StaticPod to disk if err := staticpodutil.WriteStaticPodToDisk(kubeadmconstants.Etcd, manifestDir, spec); err != nil { return err } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 13.8K bytes - Viewed (1)