Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for exits (0.26 sec)

  1. cni/pkg/nodeagent/cni-watcher.go

    	}
    	go func() {
    		err := s.cniListenServer.Serve(unixListener)
    
    		select {
    		case <-s.ctx.Done():
    			// ctx done, we should silently go away
    			return
    		default:
    			// If the cniListener exits, at least we should record an error log
    			log.Errorf("CNI listener server exiting unexpectedly: %v", err)
    		}
    	}()
    
    	context.AfterFunc(s.ctx, func() {
    		if err := s.cniListenServer.Close(); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cni/pkg/iptables/testdata/hostprobe.golden

    iptables -t nat -N ISTIO_POSTRT
    iptables -t nat -A POSTROUTING -j ISTIO_POSTRT
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 222 bytes
    - Viewed (0)
  3. bin/retry.sh

    # to 5 times.
    
    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    function retry {
      local tmpFile
      tmpFile=$(mktemp)
      trap 'rm -f "${tmpFile}"' EXIT
    
      local failureRegex="$1"
      shift
      local n=1
      local max=5
      while true; do
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    		// If we are filtering on init container termination message and the termination message of 'state' does not match, exit
    		trimmedTerminationMessage := strings.TrimSpace(c.cfg.InitTerminationMsg)
    		return trimmedTerminationMessage == "" || trimmedTerminationMessage == strings.TrimSpace(state.Message)
    	}
    	// Helper function; checks that container exit code matches filter
    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cni/pkg/install/install_test.go

    			} else if file.Exists(cniConfigFilePath) {
    				t.Fatalf("file %s was not deleted", c.configFilename)
    			}
    
    			// check if kubeconfig is deleted
    			if file.Exists(kubeConfigFilePath) {
    				t.Fatal("kubeconfig was not deleted")
    			}
    
    			// check if binaries are deleted
    			if file.Exists(filepath.Join(cniBinDir, "istio-cni")) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. bin/build_ztunnel.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    # Gets the download command supported by the system (currently either curl or wget)
    DOWNLOAD_COMMAND=""
    function set_download_command () {
      # Try curl.
      if command -v curl > /dev/null; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/scheduling/v1beta1/generated.proto

      // the default priority for pods that do not have any priority class.
      // Only one PriorityClass can be marked as `globalDefault`. However, if more than
      // one PriorityClasses exists with their `globalDefault` field set to true,
      // the smallest value of such global default PriorityClasses will be used as the default priority.
      // +optional
      optional bool globalDefault = 3;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate_test.go

    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    				tc.numWebhooks, len(wh.Webhooks))
    		}
    		tag, exists := wh.ObjectMeta.Labels[IstioTagLabel]
    		if !exists {
    			t.Errorf("expected tag webhook to have %s label, did not find", IstioTagLabel)
    		}
    		if tag != tc.tagName {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables_linux.go

    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    )
    
    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)
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/util.go

    	})
    	if err != nil {
    		return false
    	}
    	return len(mwhs.Items) > 0
    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
Back to top