Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for config (0.14 sec)

  1. cni/pkg/config/config.go

    // limitations under the License.
    
    package config
    
    import (
    	"fmt"
    	"strings"
    )
    
    type Config struct {
    	InstallConfig InstallConfig
    	RepairConfig  RepairConfig
    }
    
    // InstallConfig struct defines the Istio CNI installation options
    type InstallConfig struct {
    	// Location of the CNI config files in the host's filesystem
    	CNINetDir string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. cni/README.md

        - injects the CNI plugin config to the CNI config file
            - CNI installer will try to look for the config file under the mounted CNI net dir based on file name extensions (`.conf`, `.conflist`)
            - the file name can be explicitly set by `CNI_CONF_NAME` env var
            - the program inserts `CNI_NETWORK_CONFIG` into the `plugins` list in `/etc/cni/net.d/${CNI_CONF_NAME}`
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_linux.go

    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    	if errors.Is(err, unix.EEXIST) {
    		log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err)
    		return nil
    	}
    	return err
    }
    
    func DelInpodMarkIPRule(cfg *Config) error {
    	return forEachInpodMarkIPRule(cfg, netlink.RuleDel)
    }
    
    func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
    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)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"sigs.k8s.io/yaml"
    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := ZtunnelDump{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/services.go

    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // ServiceFilter is used to pass filter information into service based config writer print functions
    type ServiceFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/comparator.go

    	for _, resp := range istiodResponses {
    		if len(resp.Resources) > 0 {
    			c.istiod = &configdump.Wrapper{
    				ConfigDump: &admin.ConfigDump{
    					Configs: resp.Resources,
    				},
    			}
    			break
    		}
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  7. cni/pkg/nodeagent/server.go

    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    	kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) {
    		config.QPS = 80
    		config.Burst = 160
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube config: %v", err)
    	}
    
    	client, err := kube.NewClient(kube.NewClientConfigForRestConfig(kubeRestConfig), "")
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	"text/tabwriter"
    	"time"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/log"
    )
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
    	if c.ztunnelDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	out, err := json.MarshalIndent(secretDump, "", "    ")
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/values.yaml

        # increasing system churn.
        keepaliveMaxServerConnectionAge: 30m
    
        # Additional labels to apply to the deployment.
        deploymentLabels: {}
    
        ## Mesh config settings
    
        # Install the mesh config map, generated from values.yaml.
        # If false, pilot wil use default values (by default) or user-supplied values.
        configMap: true
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config bootstrap <pod-name[.namespace]>
    
      # Retrieve full bootstrap without using Kubernetes API
      ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json
      istioctl proxy-config bootstrap --file envoy-config.json
    
      # Show a human-readable Istio and Envoy version summary
      istioctl proxy-config bootstrap <pod-name[.namespace]> -o short
    `,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top