Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for service (0.1 sec)

  1. istioctl/pkg/describe/describe_test.go

    		},
    		{ // case 8 unknown service
    			args:           strings.Split("service not-a-service", " "),
    			expectedString: "services \"not-a-service\" not found",
    			wantException:  true, // "istioctl experimental describe service not-a-service" should fail
    		},
    		{
    			k8sConfigs: []runtime.Object{
    				&corev1.Service{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	client := http.Client{
    		Timeout: time.Second * 5,
    		Transport: &http.Transport{
    			TLSClientConfig: tlsClientConfig,
    		},
    	}
    	if cc.Service != nil {
    		svc, err := e.client.Kube().CoreV1().Services(cc.Service.Namespace).Get(context.Background(), cc.Service.Name, metav1.GetOptions{})
    		if err != nil {
    			return nil, err
    		}
    		namespace, selector, err := polymorphichelpers.SelectorsForObject(svc)
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. istioctl/pkg/multixds/gather.go

    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    	"os"
    	"strings"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	xdsstatus "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    	"google.golang.org/grpc"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/clioptions"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    		},
    	}
    	yaml, err := generateServiceAccountYAML(opts)
    	if err != nil {
    		t.Fatalf("failed to generate service account YAML: %v", err)
    	}
    	objs, err := manifest.ParseMultiple(yaml)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	mustFindObject(t, objs, "istio-reader-service-account", "ServiceAccount")
    	mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRole")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    					EnableIPv6:        cfg.InstallConfig.AmbientIPv6,
    					TPROXYRedirection: cfg.InstallConfig.AmbientTPROXYRedirection,
    				})
    			if err != nil {
    				return fmt.Errorf("failed to create ambient nodeagent service: %v", err)
    			}
    
    			ambientAgent.Start()
    			defer ambientAgent.Stop()
    
    			log.Info("Ambient node agent started, starting installer...")
    
    		} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    	if err != nil {
    		cniInstalls.With(resultLabel.Value(resultCopyBinariesFailure)).Increment()
    		return copiedFiles, fmt.Errorf("copy binaries: %v", err)
    	}
    
    	// Write kubeconfig with our current service account token as the contents, to the Istio agent rundir.
    	// We do not write this to the common/shared CNI config dir, because it's not CNI config, we do not
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

    metadata:
      resourceVersion: ""`
    	udpService = `
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        -
          protocol: udp`
    	skippedService = `
    kind: Service
    metadata:
      name: hello
      namespace: istio-system
    spec:
      ports:
        -
          name: http
          port: 9080`
    	validPortNamingSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret.go

    	flagset.StringVar(&o.ServiceAccountName, "service-account", "",
    		"Create a secret with this service account's credentials. Default value is \""+
    			constants.DefaultServiceAccountName+"\" if --type is \"remote\", \""+
    			constants.DefaultConfigServiceAccountName+"\" if --type is \"config\".")
    	flagset.BoolVar(&o.CreateServiceAccount, "create-service-account", true,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    				}},
    			},
    		}
    
    		// only label if the user has provided their own value, otherwise we let istiod choose a default at runtime (service)
    		// this will allow for gateway class to provide a default for that class rather than always forcing service or requiring users to configure correctly
    		if trafficType != "" {
    			if !validTrafficTypes.Contains(trafficType) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/generate.go

    			found = true
    			caBundle = string(w.ClientConfig.CABundle)
    			if w.ClientConfig.URL != nil {
    				injectionURL = *w.ClientConfig.URL
    			}
    			if w.ClientConfig.Service != nil {
    				if w.ClientConfig.Service.Path != nil {
    					path = *w.ClientConfig.Service.Path
    				}
    			}
    			break
    		}
    	}
    	if !found {
    		return nil, fmt.Errorf("could not find sidecar-injector webhook in canonical webhook %q", wh.Name)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top