Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for CleanupAndExit (0.22 sec)

  1. cmd/kube-proxy/app/server_linux.go

    // platformCleanup removes stale kube-proxy rules that can be safely removed. If
    // cleanupAndExit is true, it will attempt to remove rules from all known kube-proxy
    // modes. If it is false, it will only remove rules that are definitely not in use by the
    // currently-configured mode.
    func platformCleanup(ctx context.Context, mode proxyconfigapi.ProxyMode, cleanupAndExit bool) error {
    	var encounteredError bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_windows.go

    	}
    
    	return proxier, nil
    }
    
    // platformCleanup removes stale kube-proxy rules that can be safely removed.
    func platformCleanup(ctx context.Context, mode proxyconfigapi.ProxyMode, cleanupAndExit bool) error {
    	if cleanupAndExit {
    		return errors.New("--cleanup-and-exit is not implemented on Windows")
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_other.go

    	return nil, unsupportedError
    }
    
    // platformCleanup removes stale kube-proxy rules that can be safely removed.
    func platformCleanup(ctx context.Context, mode proxyconfigapi.ProxyMode, cleanupAndExit bool) error {
    	return unsupportedError
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server_test.go

    	for {
    		time.Sleep(2 * time.Second)
    		return fmt.Errorf("mocking error from ProxyServer.Run()")
    	}
    }
    
    // CleanupAndExit runs in the specified ProxyServer.
    func (s *fakeProxyServerError) CleanupAndExit() error {
    	return errors.New("mocking error from ProxyServer.CleanupAndExit()")
    }
    
    func TestAddressFromDeprecatedFlags(t *testing.T) {
    	testCases := []struct {
    		name               string
    		healthzPort        int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server.go

    	ConfigFile string
    	// WriteConfigTo is the path where the default configuration will be written.
    	WriteConfigTo string
    	// CleanupAndExit, when true, makes the proxy server clean up iptables and ipvs rules, then exit.
    	CleanupAndExit bool
    	// InitAndExit, when true, makes the proxy server makes configurations that need privileged access, then exit.
    	InitAndExit bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.15.md

    - Increased log level to 2 for IPVS graceful termination ([#78395](https://github.com/kubernetes/kubernetes/pull/78395), [@andrewsykim](https://github.com/andrewsykim))
    - kube-proxy: os exit when CleanupAndExit is set to true ([#76732](https://github.com/kubernetes/kubernetes/pull/76732), [@JieJhih](https://github.com/JieJhih))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.14.md

    * Windows nodes on GCE use a known-working 1809 image rather than the latest 1809 image. ([#76722](https://github.com/kubernetes/kubernetes/pull/76722), [@pjh](https://github.com/pjh))
    * kube-proxy: os exit when CleanupAndExit is set to true ([#76732](https://github.com/kubernetes/kubernetes/pull/76732), [@JieJhih](https://github.com/JieJhih))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (2)
Back to top