- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 466 for Namespace (0.1 sec)
-
cni/pkg/repair/repaircontroller.go
return nil } log.Infof("Repairing pod...") // Fetch the pod's network namespace. This must run in the host process due to how the procfs /ns/net works. // This will get a network namespace ID. This ID is scoped to the network namespace we running in. // As such, we need to be in the host namespace: the CNI pod namespace has no relation to the users pod namespace. netns, err := runInHost(func() (string, error) { return getPodNetNs(pod) })
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
Name: name, Namespace: namespace, }, Spec: gateway.GatewaySpec{ GatewayClassName: gateway.ObjectName(className), }, Status: gateway.GatewayStatus{ Conditions: conditions, }, } } func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway { gw := makeGateway(name, namespace, programmed, isWaypoint) if gw.Labels == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 15:53:09 UTC 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Use: "rootca-compare [pod/]<name-1>[.<namespace-1>] [pod/]<name-2>[.<namespace-2>]", Short: "Compare ROOTCA values for the two given pods", Long: `Compare ROOTCA values for given 2 pods to check the connectivity between them.`, Example: ` # Compare ROOTCA values for given 2 pods to check the connectivity between them. istioctl proxy-config rootca-compare <pod-name-1[.namespace]> <pod-name-2[.namespace]>`, Aliases: []string{"rc"},
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// // Instead, we rely directly on the procfs. // This rules out two possible methods: // * use crictl to inspect the pod; this returns the bind-mounted network namespace file. // * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file. // // Instead, we traverse the procfs. Comments on this method are inline. func getPodNetNs(pod *corev1.Pod) (string, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
for _, ns := range []string{ctx.IstioNamespace(), ctx.NamespaceOrDefault(ctx.Namespace())} { pl, err := client.PodsForSelector(context.TODO(), ns, labelSelector) if err != nil { continue } if len(pl.Items) > 0 { return pl.Items[0].Name, pl.Items[0].Namespace, nil } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
helm/minio/templates/NOTES.txt
{{ template "minio.fullname" . }}.{{ .Release.Namespace }}.{{ .Values.clusterDomain }} To access MinIO from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 15:48:31 UTC 2024 - 2.7K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 24 09:07:30 UTC 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
}) } } var nsTestObject = func(namespace, injLabelValue, revLabelValue string) *corev1.Namespace { labels := map[string]string{} if injLabelValue != "" { labels["istio-injection"] = injLabelValue } if revLabelValue != "" { labels[label.IoIstioRev.Name] = revLabelValue } return &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: namespace, Labels: labels, }, } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 10.6K bytes - Viewed (0) -
istioctl/pkg/writer/table/writer_test.go
) type testObject struct { name string namespace string version string } var newTestObject = func(name, namespace, version string) testObject { return testObject{ name: name, namespace: namespace, version: version, } } func TestWriter(t *testing.T) { got := &bytes.Buffer{} w := NewStyleWriter(got) w.AddHeader("NAME", "NAMESPACE", "VERSION") w.SetAddRowFunc(func(obj interface{}) Row {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Oct 08 04:41:42 UTC 2022 - 1.6K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: fakePodIP, }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}} client := kube.NewFakeClient(ns, pod)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K bytes - Viewed (0)