- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for staticPods (0.17 sec)
-
cmd/kubeadm/app/phases/upgrade/staticpods.go
equal, diff, err := staticpod.ManifestFilesAreEqual(currentManifestPath, newManifestPath) if err != nil { return err } if equal { if !apiServerUpgrade { fmt.Printf("[upgrade/staticpods] Current and new manifests of %s are equal, skipping upgrade\n", component) return nil } klog.V(4).Infof("[upgrade/staticpods] Current and new manifests of %s are equal, but %s will be upgraded\n",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 10:07:41 UTC 2024 - 30.7K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go
ResolverConfig: &fooResolverConfig, StaticPodPath: "/foo/staticpods", Authentication: kubeletconfig.KubeletAuthentication{ X509: kubeletconfig.KubeletX509Authentication{ ClientCAFile: "/foo/ca.crt", }, }, }, expected: &kubeletconfig.KubeletConfiguration{ ResolverConfig: ptr.To(""), StaticPodPath: filepath.Join(drive, "/foo/staticpods"), Authentication: kubeletconfig.KubeletAuthentication{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster_test.go
rt.staticPod.NodeName = rt.nodeName if err := rt.staticPod.Create(client); err != nil { t.Error("could not create static pod") return } } apiEndpoint := kubeadmapi.APIEndpoint{} err := getAPIEndpointWithRetry(client, rt.nodeName, &apiEndpoint, time.Millisecond*10, time.Millisecond*100) if err != nil && !rt.expectedErr {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/kubelet/pod/pod_manager_test.go
t.Errorf("unable to translate UID %q to the static POD's UID %q; %#v", mirrorPod.UID, staticPod.UID, podManager.mirrorPodByUID) } // Test the basic Get methods. actualPod, ok := podManager.GetPodByFullName("bar_default") if !ok || !reflect.DeepEqual(actualPod, staticPod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 16:57:27 UTC 2023 - 5.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_others.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package staticpod import ( v1 "k8s.io/api/core/v1" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/util/users" ) // RunComponentAsNonRoot is a NO-OP on non linux.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 983 bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
m.podManager.(mutablePodManager).AddPod(staticPod) assert.True(t, kubetypes.IsStaticPod(staticPod), "SetUp error: staticPod") status := getRandomPodStatus() now := metav1.Now() status.StartTime = &now m.SetPodStatus(staticPod, status) t.Logf("Should be able to get the static pod status from status manager") retrievedStatus := expectPodStatus(t, m, staticPod) normalizeStatus(staticPod, &status)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
cmd/kubeadm/test/resources/pods.go
import ( "context" "fmt" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" clientset "k8s.io/client-go/kubernetes" staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod" ) // FakeStaticPod represents a fake static pod type FakeStaticPod struct { NodeName string Component string Annotations map[string]string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 1.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/removeetcdmember.go
kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" etcdphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/etcd" utilstaticpod "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod" ) // NewRemoveETCDMemberPhase creates a kubeadm workflow phase for remove-etcd-member func NewRemoveETCDMemberPhase() workflow.Phase { return workflow.Phase{ Name: "remove-etcd-member",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 4.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_linux_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package staticpod import ( "path/filepath" "reflect" "testing" v1 "k8s.io/api/core/v1" "k8s.io/utils/ptr" "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 14:41:12 UTC 2023 - 7.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_linux.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package staticpod import ( "fmt" "path/filepath" "github.com/pkg/errors" v1 "k8s.io/api/core/v1" "k8s.io/utils/ptr" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 14:41:12 UTC 2023 - 8.4K bytes - Viewed (0)