Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for Preflight (0.14 sec)

  1. cmd/kubeadm/app/cmd/upgrade/common_test.go

    	"testing"
    
    	"github.com/spf13/pflag"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	kubeadmapiv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    	testutil "k8s.io/kubernetes/cmd/kubeadm/test"
    )
    
    const testConfigToken = `apiVersion: v1
    clusters:
    - cluster:
        certificate-authority-data:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. releasenotes/notes/50452.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 185 bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/join_test.go

    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    			t.Errorf("Invalid ignore preflight errors in JoinConfiguration. Expected: %v. Actual: %v", sets.List(expected), data.cfg.NodeRegistration.IgnorePreflightErrors)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/reset_test.go

    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if data.cfg != nil && !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks_windows.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	"github.com/pkg/errors"
    	"golang.org/x/sys/windows"
    )
    
    // Check validates if a user has elevated (administrator) privileges.
    func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 17:23:02 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go

    limitations under the License.
    */
    
    package phases
    
    import (
    	"os"
    	"path/filepath"
    	"testing"
    
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    )
    
    func assertExists(t *testing.T, path string) {
    	if _, err := os.Stat(path); os.IsNotExist(err) {
    		t.Errorf("file/directory does not exist; error: %s", err)
    		t.Errorf("file/directory does not exist: %s", path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/init_test.go

    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    			t.Errorf("Invalid ignore preflight errors in InitConfiguration. Expected: %v. Actual: %v", sets.List(expected), data.cfg.NodeRegistration.IgnorePreflightErrors)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/utils.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	"regexp"
    	"strings"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	utilsexec "k8s.io/utils/exec"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 07:51:36 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/preflight/checks_other.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	system "k8s.io/system-validators/validators"
    	utilsexec "k8s.io/utils/exec"
    )
    
    // addOSValidator adds a new OSValidator
    // No-op for Darwin (MacOS), Windows.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 23 07:37:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. tests/integration/security/jwt_test.go

    						opts.Check = check.Status(http.StatusUnauthorized)
    					},
    				},
    				{
    					name: "expired-token-cors-preflight-request-allowed",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/expired-token-cors-preflight-request-allowed"
    						opts.HTTP.Method = "OPTIONS"
    						opts.HTTP.Headers = headers.New().
    							WithAuthz(jwt.TokenExpired).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top