Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Corefile (0.27 sec)

  1. cmd/kubeadm/app/phases/addons/dns/dns.go

    	canMigrateCorefile := true
    
    	if corefile == "" || migration.Default("", corefile) {
    		// If the Corefile is empty or default, the latest default Corefile will be applied
    		if err := apiclient.CreateOrUpdateConfigMap(client, coreDNSConfigMap); err != nil {
    			return err
    		}
    	} else if corefileMigrationRequired {
    		// If migration is required, try and migrate the Corefile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    			if !strings.EqualFold(migratedConfigMap.Data["Corefile"], tc.expectedCorefileData) {
    				t.Fatalf("expected to get %v, but got %v", tc.expectedCorefileData, migratedConfigMap.Data["Corefile"])
    			}
    		})
    	}
    }
    
    func createClientAndCoreDNSManifest(t *testing.T, corefile, coreDNSVersion string) *clientsetfake.Clientset {
    	client := clientsetfake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. cluster/gce/upgrade.sh

         "${download_dir}/corefile-tool-${host_arch}" migrate --from "${CURRENT_COREDNS_VERSION}" --to "${NEW_COREDNS_VERSION}" --corefile "${download_dir}/Corefile-old" > "${download_dir}/Corefile"
         "${KUBE_ROOT}/cluster/kubectl.sh" -n kube-system create configmap coredns --from-file "${download_dir}/Corefile" -o yaml --dry-run=client | "${KUBE_ROOT}/cluster/kubectl.sh" apply -f -
      else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. go.mod

    	github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
    	github.com/blang/semver/v4 v4.0.0
    	github.com/container-storage-interface/spec v1.9.0
    	github.com/containerd/cgroups v1.1.0
    	github.com/coredns/corefile-migration v1.0.21
    	github.com/coreos/go-oidc v2.2.1+incompatible
    	github.com/coreos/go-systemd/v22 v22.5.0
    	github.com/cpuguy83/go-md2man/v2 v2.0.3
    	github.com/cyphar/filepath-securejoin v0.2.4
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/workcmd/edit.go

    		workFile.DropToolchainStmt()
    	} else if *editToolchain != "" {
    		if err := workFile.AddToolchainStmt(*editToolchain); err != nil {
    			base.Fatalf("go: internal error: %v", err)
    		}
    	}
    
    	if len(workedits) > 0 {
    		for _, edit := range workedits {
    			edit(workFile)
    		}
    	}
    
    	workFile.SortBlocks()
    	workFile.Cleanup() // clean file after edits
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/net/http/request_test.go

    		}
    	}
    }
    
    func testMissingFile(t *testing.T, req *Request) {
    	f, fh, err := req.FormFile("missing")
    	if f != nil {
    		t.Errorf("FormFile file = %v, want nil", f)
    	}
    	if fh != nil {
    		t.Errorf("FormFile file header = %v, want nil", fh)
    	}
    	if err != ErrMissingFile {
    		t.Errorf("FormFile err = %q, want ErrMissingFile", err)
    	}
    }
    
    func newTestMultipartRequest(t *testing.T) *Request {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } finally {
                IoActions.closeQuietly(out);
            }
        }
    
        public static void moveFile(File source, File destination) {
            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/upgrade/staticpods.go

    }
    
    // MoveFile should move a file from oldPath to newPath
    func (spm *KubeStaticPodPathManager) MoveFile(oldPath, newPath string) error {
    	return kubeadmutil.MoveFile(oldPath, newPath)
    }
    
    // KubernetesDir should point to the directory Kubernetes owns for storing various configuration files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/runtime/os_plan9.go

    			postnote(mp.procid, buf[:])
    		}
    	}
    	getg().m.locks--
    }
    
    var procdir = []byte("/proc/")
    var notefile = []byte("/note\x00")
    
    func postnote(pid uint64, msg []byte) int {
    	var buf [128]byte
    	var tmp [32]byte
    	n := copy(buf[:], procdir)
    	n += copy(buf[n:], itoa(tmp[:], pid))
    	copy(buf[n:], notefile)
    	fd := open(&buf[0], _OWRITE, 0)
    	if fd < 0 {
    		return -1
    	}
    	len := findnull(&msg[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                IoActions.closeQuietly(out);
            }
        }
    
        public static void moveFile(File source, File destination) {
            logDeprecation();
            moveFileInternal(source, destination);
        }
    
        private static void moveFileInternal(File source, File destination) {
            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top