- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,195 for pod9 (0.04 sec)
-
pkg/client/tests/fake_client_test.go
} } pod1, err := tc.CoreV1().Pods("nsA").Get(context.TODO(), "pod-1", metav1.GetOptions{}) if err != nil { t.Fatalf("Pods.Get: %s", err) } if pod1 == nil { t.Fatalf("Expected to find pod nsA/pod-1 but it wasn't found") } if pod1.Namespace != "nsA" || pod1.Name != "pod-1" { t.Fatalf("Expected to find pod nsA/pod-1t, got %s/%s", pod1.Namespace, pod1.Name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 08 17:30:21 UTC 2020 - 5.6K bytes - Viewed (0) -
pkg/kube/krt/index_test.go
pod2 := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "name2", Namespace: "namespace", }, Status: corev1.PodStatus{PodIP: "1.2.3.5"}, } pc.CreateOrUpdateStatus(pod2) tt.WaitUnordered("add/namespace/name2") assert.Equal(t, Collection.Get(), ptr.Of("namespace/name,namespace/name2")) pc.Delete(pod.Name, pod.Namespace) pc.Delete(pod2.Name, pod2.Namespace)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 4.5K bytes - Viewed (0) -
hack/testdata/pod.yaml
apiVersion: v1 kind: Pod metadata: name: test-pod labels: name: test-pod-label spec: containers: - name: kubernetes-pause
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 172 bytes - Viewed (0) -
pkg/config/analysis/analyzers/deployment/pod.go
Name: "applicationUID.Analyzer", Description: "Checks invalid application UID", Inputs: []config.GroupVersionKind{ gvk.Pod, gvk.Deployment, }, } } func (appUID *ApplicationUIDAnalyzer) Analyze(context analysis.Context) { context.ForEach(gvk.Pod, func(resource *resource.Instance) bool { appUID.analyzeAppUIDForPod(resource, context) return true })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go
} func extractPod(pod *apicorev1.Pod, fieldManager string, subresource string) (*PodApplyConfiguration, error) { b := &PodApplyConfiguration{} err := managedfields.ExtractInto(pod, internal.Parser().Type("io.k8s.api.core.v1.Pod"), fieldManager, b, subresource) if err != nil { return nil, err } b.WithName(pod.Name) b.WithNamespace(pod.Namespace) b.WithKind("Pod") b.WithAPIVersion("v1") return b, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 23 17:59:55 UTC 2022 - 11.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_test.go
defer close(stopCh) kubelet.podManager.SetPods(pods) for _, pod := range pods { err := kubelet.volumeManager.WaitForAttachAndMount(context.Background(), pod) assert.NoError(t, err) } for _, pod := range pods { podVolumesExist := kubelet.podVolumesExist(pod.UID) assert.True(t, podVolumesExist, "pod %q", pod.UID) } } func TestPodVolumeDeadlineAttachAndMount(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 17 16:53:28 UTC 2023 - 20.4K bytes - Viewed (0) -
src/internal/coverage/pods/pods.go
} for _, e := range p.elements { pod.CounterDataFiles = append(pod.CounterDataFiles, e.file) pod.Origins = append(pod.Origins, e.origin) pod.ProcessIDs = append(pod.ProcessIDs, e.pid) } pods = append(pods, pod) } slices.SortFunc(pods, func(a, b Pod) int { return strings.Compare(a.MetaFile, b.MetaFile) }) return pods } func warning(s string, a ...interface{}) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.6K bytes - Viewed (0) -
cmd/kubeadm/test/resources/pods.go
) // FakeStaticPod represents a fake static pod type FakeStaticPod struct { NodeName string Component string Annotations map[string]string } // Pod returns a pod structure representing the fake static pod with a // given suffix func (p *FakeStaticPod) Pod(suffix string) *v1.Pod { pod := staticpodutil.ComponentPod( v1.Container{ Name: p.Component,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 1.9K bytes - Viewed (0) -
pkg/volume/local/local_linux_test.go
fsGroup1 := int64(s.Gid) fsGroup2 := fsGroup1 + 1 pod1 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod1.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup1, } pod2 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod2.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup2, } err = testFSGroupMount(plug, pod1, tmpDir, fsGroup1) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/pod.yaml
apiVersion: v1 kind: Pod metadata: name: hellopod spec: containers: - name: hello image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports: - name: http containerPort: 80
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 16 01:43:48 UTC 2019 - 221 bytes - Viewed (0)