Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for staticPods (0.14 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    			wantErr: false,
    			pods: []*v1.Pod{
    				staticPod(),
    			},
    			prepareWorker: func(t *testing.T, w *podWorkers, records map[types.UID][]syncPodRecord) {
    				// send a create of a static pod
    				pod := staticPod()
    				// block startup of the static pod due to full name collision
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/apiclient/wait.go

    	staticPodName := fmt.Sprintf("%s-%s", component, nodeName)
    	staticPod, err := client.CoreV1().Pods(metav1.NamespaceSystem).Get(context.TODO(), staticPodName, metav1.GetOptions{})
    	if err != nil {
    		return "", errors.Wrapf(err, "failed to obtain static Pod hash for component %s on Node %s", component, nodeName)
    	}
    
    	staticPodHash := staticPod.Annotations["kubernetes.io/config.hash"]
    	return staticPodHash, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/etcd/local.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/images"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	etcdutil "k8s.io/kubernetes/cmd/kubeadm/app/util/etcd"
    	staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/users"
    )
    
    const (
    	etcdVolumeName           = "etcd-data"
    	certsVolumeName          = "etcd-certs"
    	etcdHealthyCheckInterval = 5 * time.Second
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  4. cmd/kubeadm/app/phases/controlplane/volumes.go

    	"k8s.io/apimachinery/pkg/util/sets"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    )
    
    const (
    	caCertsVolumeName              = "ca-certs"
    	caCertsVolumePath              = "/etc/ssl/certs"
    	flexvolumeDirVolumeName        = "flexvolume-dir"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/etcd/local_test.go

    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	etcdutil "k8s.io/kubernetes/cmd/kubeadm/app/util/etcd"
    	staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    	testutil "k8s.io/kubernetes/cmd/kubeadm/test"
    )
    
    func TestGetEtcdPodSpec(t *testing.T) {
    	// Creates a ClusterConfiguration
    	cfg := &kubeadmapi.ClusterConfiguration{
    		KubernetesVersion: "v1.7.0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/controlplane/manifests.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/images"
    	certphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/certs"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/users"
    )
    
    // CreateInitStaticPodManifestFiles will write all static pod manifest files needed to bring up the control plane.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/staticpod/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 staticpod
    
    import (
    	"bytes"
    	"crypto/md5"
    	"fmt"
    	"hash"
    	"io"
    	"math"
    	"net/url"
    	"os"
    	"sort"
    	"strings"
    	"sync"
    
    	"github.com/pkg/errors"
    	"github.com/pmezard/go-difflib/difflib"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/staticpod/utils_test.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 staticpod
    
    import (
    	"io"
    	"os"
    	"path/filepath"
    	"reflect"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/certs"
    	pkiutiltesting "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil/testing"
    	staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    	testutil "k8s.io/kubernetes/cmd/kubeadm/test"
    )
    
    const (
    	testCertsDir = "/var/lib/certs"
    )
    
    var cpVersion = kubeadmconstants.MinimumControlPlaneVersion.WithPreRelease("beta.2").String()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top