- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for ns (0.14 sec)
-
istioctl/pkg/waypoint/waypoint.go
if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) } var ns string if allNamespaces { ns = "" } else { ns = ctx.NamespaceOrDefault(ctx.Namespace()) } gws, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ns). List(context.Background(), metav1.ListOptions{}) if err != nil { return err } if len(gws.Items) == 0 {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 16:16:40 GMT 2024 - 15.2K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
excludedNS := "testExcludeNS" pod, ns := buildFakePodAndNSForClient() app := corev1.Container{Name: "app"} ns.ObjectMeta.Name = excludedNS ns.ObjectMeta.Labels = map[string]string{constants.DataplaneMode: constants.AmbientRedirectionEnabled} pod.ObjectMeta.Namespace = excludedNS pod.Spec.Containers = []corev1.Container{app} testDoAddRun(t, cniConf, excludedNS, pod, ns) wasCalled := serverClose()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
constants.DataplaneMode)) _, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) // wait for another two update events // total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
})) return s } func (s *InformerHandlers) GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) { ns := s.namespaces.Get(podNamespace, "") if ns == nil { return nil, fmt.Errorf("failed to find namespace %v", ns) } pod := s.pods.Get(podName, podNamespace) if util.PodRedirectionEnabled(ns, pod) { return pod, nil } return nil, nil } func (s *InformerHandlers) Start() {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 9.9K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
ctx := context.Background() nsList, err := getNamespaces(ctx, kubeClient) if err != nil { return nil, err } var nsNameList []string for _, ns := range nsList { if toComplete == "" || strings.HasPrefix(ns.Name, toComplete) { nsNameList = append(nsNameList, ns.Name) } } return nsNameList, nil } func getNamespaces(ctx context.Context, client kube.CLIClient) ([]corev1.Namespace, error) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/testdata/secretsummary.txt
spiffe://cluster.local/ns/istio-system/sa/istiod Leaf Available true e5dfb59150b2ba7f108d93dcec5aa613 2033-03-22T13:04:57Z 2023-03-21T13:02:57Z spiffe://cluster.local/ns/istio-system/sa/istiod Root Available false 8a516645c40ce76c2c0d27ab4e2461c1 2022-03-18T13:04:49Z 2022-03-21T13:04:49Z
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 1022 bytes - Viewed (0) -
docs/distributed/decom-encrypted-sse-s3.sh
exit 1 fi ./mc ls -r myminio/versioned >decommissioned_ns.txt ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no missing entries after decommission: $out" exit 1 fi out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt) ret=$? if [ $ret -ne 0 ]; then
Shell Script - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 4.5K bytes - Viewed (0) -
docs/distributed/decom.sh
exit 1 fi ./mc ls -r myminio/versioned >decommissioned_ns.txt ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no missing entries after decommission: $out" exit 1 fi out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt) ret=$? if [ $ret -ne 0 ]; then
Shell Script - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
// only use the first pod in the list podName = pl.Items[0].Name ns = pl.Items[0].Namespace } else { podName, ns, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.IstioNamespace()) if err != nil { return err } } port := inferMonitoringPort(client, podName, ns) return portForward(podName, ns, fmt.Sprintf("Istio debug %s", podName),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
# Apply the tag to cluster kubectl apply -f tag.yaml # Point namespace "test-ns" at the revision pointed to by the "prod" revision tag kubectl label ns test-ns istio.io/rev=prod # Rollout namespace "test-ns" to update workloads to the "1-8-0" revision kubectl rollout restart deployments -n test-ns `, Args: func(cmd *cobra.Command, args []string) error { if len(args) == 0 {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0)