- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 52 for CoreV1 (0.21 sec)
-
istioctl/pkg/workload/workload.go
// TODO: Make the following accurate when using the Kubernetes certificate signer func createCertsTokens(kubeClient kube.CLIClient, wg *clientv1alpha3.WorkloadGroup, dir string, out io.Writer) error { rootCert, err := kubeClient.Kube().CoreV1().ConfigMaps(wg.Namespace).Get(context.Background(), controller.CACertNamespaceConfigMap, metav1.GetOptions{}) // errors if the requested configmap does not exist in the given namespace if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
_, err = client.Kube().CoreV1().Pods("istio-system").Create(context.TODO(), &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "istiod-test", Namespace: "istio-system", Labels: map[string]string{ "app": "istiod", label.IoIstioRev.Name: c.revision, }, }, Status: corev1.PodStatus{ Phase: corev1.PodRunning, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
if len(slice) != 2 { return nil, fmt.Errorf("invalid resource name format: %v", slice) } podName := slice[0] ns := slice[1] pod, err := kubeClient.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return nil, err } resp, err := queryToOnePod(pod) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
package ztunnelconfig import ( "context" "fmt" "io" "os" "regexp" "sort" "strings" "github.com/hashicorp/go-multierror" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/kubectl/pkg/util/podutils" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/completion"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/tag/revision.go
// See the License for the specific language governing permissions and // limitations under the License. package tag import ( "context" "fmt" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/api/label" iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1" "istio.io/istio/pkg/kube" )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Jan 28 13:16:05 GMT 2023 - 4.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
return nil } func isAmbientPod(client kubernetes.Interface, podName, podNamespace string) (bool, error) { pod, err := client.CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return false, err } ns, err := client.CoreV1().Namespaces().Get(context.Background(), podNamespace, metav1.GetOptions{}) if err != nil { return false, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
}, } return cmd } func inferMonitoringPort(client kube.Client, name, ns string) int { port := 15014 pod, err := client.Kube().CoreV1().Pods(ns).Get(context.Background(), name, metav1.GetOptions{}) if err != nil { return port } return kube.FindIstiodMonitoringPort(pod) } // port-forward to SkyWalking UI on istio-system
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
selectedNamespace = ctx.NamespaceOrDefault(selectedNamespace) if selectedNamespace != "" { client, err := ctx.CLIClient() if err != nil { return err } _, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{}) if errors.IsNotFound(err) { fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace()) return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
if _, err := kubeClient.Kube().CoreV1().Namespaces().Update(context.Background(), nsObj, metav1.UpdateOptions{}); err != nil { return fmt.Errorf("failed to update namespace %s: %v", ns, err) } return nil } func namespaceIsLabeledAmbient(kubeClient kube.CLIClient, ns string) (bool, error) { nsObj, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.Background(), ns, metav1.GetOptions{})
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
return kubernetes.NewForConfig(config) } // getK8sPodInfo returns information of a POD func getK8sPodInfo(client kubernetes.Interface, podName, podNamespace string) (*PodInfo, error) { pod, err := client.CoreV1().Pods(podNamespace).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return nil, err } pi := ExtractPodInfo(pod) log.Debugf("Pod %v/%v info: \n%+v", podNamespace, podName, pi)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0)