Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for berate (0.14 sec)

  1. operator/cmd/mesh/operator-remove.go

    	}
    	if !orArgs.skipConfirmation && !args.DryRun && !Confirm(message, cmd.OutOrStdout()) {
    		cmd.Print("Cancelled.\n")
    		os.Exit(1)
    	}
    
    	l.LogAndPrintf("Removing Istio operator...")
    	// Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP.
    	var iop *iopv1alpha1.IstioOperator
    	if orArgs.revision != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    It's best to do kube-inject when the resource is initially created.
    `,
    		Example: `  # Update resources on the fly before applying.
      kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
    
      # Create a persistent version of the deployment with Istio sidecar injected.
      istioctl kube-inject -f deployment.yaml -o deployment-injected.yaml
    
      # Update an existing deployment.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    			}
    			return nil
    		},
    		RunE: func(logCmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			var podName, ns string
    			if len(args) == 0 {
    				if opts.Revision == "" {
    					opts.Revision = "default"
    				}
    				if len(istiodLabelSelector) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    	}
    	icps, err := kubeClient.GetIstioVersions(context.TODO(), ns)
    	if err != nil {
    		return err
    	}
    	if len(*icps) != 0 {
    		var icpTags []string
    		var icpTag string
    		// create normalized tags for multiple control plane revisions
    		for _, icp := range *icps {
    			if icp.Revision != revision {
    				continue
    			}
    			tagVer, err := GetTagVersion(icp.Info.GitTag)
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  5. istioctl/pkg/tag/tag.go

    }
    
    func tagSetCommand(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "set <revision-tag>",
    		Short: "Create or modify revision tags",
    		Long: `Create or modify revision tags. Tag an Istio control plane revision for use with namespace istio.io/rev
    injection labels.`,
    		Example: `  # Create a revision tag from the "1-8-0" revision
      istioctl tag set prod --revision 1-8-0
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. cni/pkg/install/install_test.go

    			existingConfFiles: map[string]string{"istio-cni.conf": "istio-cni.conf"},
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			tempDir := t.TempDir()
    
    			// Create existing config files if specified in test case
    			for srcFilename, targetFilename := range c.existingConfFiles {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

      istioctl x waypoint generate --namespace default`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			gw, err := makeGateway(false)
    			if err != nil {
    				return fmt.Errorf("failed to create gateway: %v", err)
    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			// strip junk
    			res := strings.ReplaceAll(string(b), `  creationTimestamp: null
    `, "")
    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)
  8. istioctl/pkg/describe/describe_test.go

    			client.Istio().NetworkingV1alpha3().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.Gateway:
    			client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.VirtualService:
    			client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables_linux.go

    		_, localhostDst, err := net.ParseCIDR(fullCIDR)
    		if err != nil {
    			return fmt.Errorf("parse CIDR: %v", err)
    		}
    
    		netlinkRoutes := []*netlink.Route{
    			// In routing table ${INBOUND_TPROXY_ROUTE_TABLE}, create a single default rule to route all traffic to
    			// the loopback interface.
    			// Equiv: "ip route add local 0.0.0.0/0 dev lo table 100"
    			{
    				Dst:       localhostDst,
    				Scope:     netlink.SCOPE_HOST,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. cni/pkg/plugin/kubernetes.go

    	if err != nil {
    		log.Errorf("Failed setting up kubernetes client with kubeconfig %s", kubeconfig)
    		return nil, err
    	}
    
    	log.Debugf("istio-cni set up kubernetes client with kubeconfig %s", kubeconfig)
    
    	// Create the client
    	return kubernetes.NewForConfig(config)
    }
    
    // getK8sPodInfo returns information of a POD
    func getK8sPodInfo(client kubernetes.Interface, podName, podNamespace string) (*PodInfo, error) {
    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)
Back to top