- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 125 for pdName (0.14 sec)
-
pkg/registry/core/persistentvolume/storage/storage_test.go
t.Errorf("unexpected object: %s", cmp.Diff(pvIn.Status, pvOut.Status)) } } func getPhaseTranstitionTime(ctx context.Context, pvName string, storage *REST) (*metav1.Time, error) { obj, err := storage.Get(ctx, pvName, &metav1.GetOptions{}) if err != nil { return nil, err } return obj.(*api.PersistentVolume).Status.LastPhaseTransitionTime, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 7.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator.go
PersistentVolumes: persistentStats}) } // parsePodVolumeStats converts (internal) volume.Metrics to (external) stats.VolumeStats structures func (s *volumeStatCalculator) parsePodVolumeStats(podName string, pvcRef *stats.PVCReference, metric *volume.Metrics, volSpec v1.Volume) stats.VolumeStats { var ( available, capacity, used, inodes, inodesFree, inodesUsed uint64 ) if metric.Available != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 29 00:55:10 UTC 2022 - 7.1K bytes - Viewed (0) -
security/pkg/k8s/tokenreview/k8sauthn_test.go
}, }, }, }, expectedResult: security.KubernetesInfo{ PodNamespace: "default", PodServiceAccount: "example-pod-sa", PodUID: "12345", PodName: "some-pod", }, }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { result, err := getTokenReviewResult(&tc.tokenReview) assert.Equal(t, result, tc.expectedResult)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 13 17:12:41 UTC 2023 - 4K bytes - Viewed (0) -
pilot/pkg/bootstrap/servicecontroller.go
args.RegistryOptions.KubeOptions.SystemNamespace = args.Namespace args.RegistryOptions.KubeOptions.MeshServiceController = s.ServiceController() // pass namespace to k8s service registry kubecontroller.NewMulticluster(args.PodName, s.kubeClient.Kube(), args.RegistryOptions.ClusterRegistriesNamespace, args.RegistryOptions.KubeOptions, s.serviceEntryController, s.configController, s.istiodCertBundleWatcher, args.Revision,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/volume/flexvolume/mounter.go
return nil } call := f.plugin.NewDriverCall(mountCmd) // Interface parameters call.Append(dir) extraOptions := make(map[string]string) // pod metadata extraOptions[optionKeyPodName] = f.podName extraOptions[optionKeyPodNamespace] = f.podNamespace extraOptions[optionKeyPodUID] = string(f.podUID) // service account metadata extraOptions[optionKeyServiceAccountName] = f.podServiceAccountName
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/volume/nfs/nfs.go
}}, nil } // Recycle recycles/scrubs clean an NFS volume. // Recycle blocks until the pod has completed or any error occurs. func (plugin *nfsPlugin) Recycle(pvName string, spec *volume.Spec, eventRecorder recyclerclient.RecycleEventRecorder) error { if spec.PersistentVolume == nil || spec.PersistentVolume.Spec.NFS == nil { return fmt.Errorf("spec.PersistentVolumeSource.NFS is nil") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.5K bytes - Viewed (0) -
pilot/pkg/xds/xdsgen.go
// The Pod Name (instance identity) is in PilotArgs, but not reachable globally nor from DiscoveryServer podName := env.Register("POD_NAME", "", "").Get() byVersion, err := json.Marshal(IstioControlPlaneInstance{ Component: "istiod", ID: podName, Info: istioversion.Info, }) if err != nil { log.Warnf("XDS: Could not serialize control plane id: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 6.3K bytes - Viewed (0) -
samples/open-telemetry/loki/REAME.md
otlp: protocols: grpc: http: processors: batch: attributes: actions: - action: insert key: loki.attribute.labels value: podName, namespace,cluster,meshID exporters: loki: endpoint: "http://loki.istio-system.svc:3100/loki/api/v1/push" logging: loglevel: debug extensions: health_check: service:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 06 20:18:25 UTC 2023 - 2.4K bytes - Viewed (0) -
security/pkg/k8s/tokenreview/k8sauthn.go
if len(subStrings) != 4 { return security.KubernetesInfo{}, fmt.Errorf("invalid username field in the token review result") } return security.KubernetesInfo{ PodName: extractExtra(tokenReview, PodNameKey), PodNamespace: subStrings[2], PodUID: extractExtra(tokenReview, PodUIDKey), PodServiceAccount: subStrings[3], }, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 13 17:12:41 UTC 2023 - 4.3K bytes - Viewed (0) -
pilot/pkg/status/distribution/reporter_test.go
Expect(r.reverseStatus).To(Equal(map[string]sets.String{"a": {"conB~": x}, "c": {"conC~": x}, "d": {"conD~": x}})) } func initReporterWithoutStarting() (out Reporter) { out.PodName = "tespod" out.inProgressResources = map[string]*inProgressEntry{} out.client = nil // TODO out.clock = clock.RealClock{} // TODO out.UpdateInterval = 300 * time.Millisecond out.cm = nil // TODO
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 4.4K bytes - Viewed (0)