Wdrażanie klastra Kubernetes w usłudze Azure Stack HCI

Ukończone

Usługa AKS uruchomiona w klastrze azure Stack HCI jest teraz gotowa do zainstalowania pierwszego klastra Kubernetes. Aby uprościć to zadanie, decydujesz się na użycie Centrum Administracja Windows.

Tworzenie klastra Kubernetes w klastrze azure Stack HCI

Podobnie jak usługa AKS, centrum windows Administracja opiera się na rozszerzeniu AKS, które przeprowadzi Cię przez proces tworzenia klastra Kubernetes. Kroki procesu to:

  • Wymagania wstępne
  • Podstawy
  • Pule węzłów
  • Uwierzytelnianie
  • Sieć
  • Integracja
  • Przeglądanie i tworzenie

Wymagania wstępne

Program Windows Administracja Center zawiera listę wymagań wstępnych dotyczących zasobów obliczeniowych, magazynu i oprogramowania do tworzenia klastra Kubernetes w usłudze Azure Stack HCI. Twoim zadaniem jest sprawdzenie, czy zostały spełnione wymagania wstępne.

The screenshot depicts the Prerequisites step of the Create Kubernetes cluster wizard in Windows Admin Center.

Podstawy

Usługa Windows Administracja Center automatycznie rejestruje klaster Kubernetes na platformie Azure i dołącza go do usługi Azure Arc. Aby ta konfiguracja powiodła się, podaj nazwę subskrypcji platformy Azure i grupę zasobów, którą zamierzasz hostować zasób platformy Azure odpowiadający wdrażanym klastrowi Kubernetes. Musisz również autoryzować Centrum windows Administracja do przeprowadzenia rejestracji w Twoim imieniu.

The screenshot depicts the Azure Arc integration settings of the Basics step of the Create Kubernetes cluster wizard in Windows Admin Center.

Program Windows Administracja Center umożliwia również określenie rozmiaru maszyn wirtualnych używanych do hostowania składników płaszczyzny sterowania.

The screenshot depicts the Kubernetes version and the primary node pool settings of the Basics step of the Create Kubernetes cluster wizard in Windows Admin Center.

Pule węzłów

Program Windows Administracja Center udostępnia opcję określania pul węzłów procesu roboczego systemu Windows i Linux, które powinny być aprowidowane w ramach konfiguracji klastra Kubernetes.

The screenshot depicts the Node pools step of the Create Kubernetes cluster wizard in Windows Admin Center.

Uwierzytelnianie

Usługa Windows Administracja Center umożliwia włączenie uwierzytelniania usługi Active Directory dla płaszczyzny sterowania wdrażanego klastra Kubernetes. Jeśli zdecydujesz się użyć tej opcji, musisz podać dodatkowe informacje niezbędne do ustanowienia bezpiecznego kanału między serwerem interfejsu API klastra i kontrolerami domeny usług AD DS.

The screenshot depicts the Authentication step of the Create Kubernetes cluster wizard in Windows Admin Center.

Sieć

Usługa Windows Administracja Center uwidacznia funkcje sieciowe, które określają zakres adresów IP dla sieci wirtualnych hostujących węzły klastra i umożliwiają implementowanie mechanizmów kontroli ruchu sieciowego.

The screenshot depicts the Networking step of the Create Kubernetes cluster wizard in Windows Admin Center.

Integracja

Program Windows Administracja Center przedstawia ustawienia integracji, które wskazują magazyn trwały oparty na rozwiązaniu Azure Stack HCI dostępny dla konteneryzowanych obciążeń.

The screenshot depicts the Integration step of the Create Kubernetes cluster wizard in Windows Admin Center.

Przeglądanie i tworzenie

Program Windows Administracja Center zawiera omówienie opcji konfiguracji. Po zweryfikowaniu tych zainicjuj proces tworzenia klastra.

The screenshot depicts the Review + Create step of the Create Kubernetes cluster wizard in Windows Admin Center.

Po utworzeniu klastra Kubernetes można wdrożyć konteneryzowane obciążenia.

The screenshot depicts the New cluster step of the Create Kubernetes cluster wizard in Windows Admin Center.

Uwaga

Proces tworzenia klastra Kubernetes w usłudze Azure Stack HCI można w pełni zautomatyzować przy użyciu programu Windows PowerShell.

Test wiedzy

1.

Dokumentujesz procedurę tworzenia klastra Kubernetes dla zespołu operacji IT firmy Contoso, który będzie wykonywać podobne instalacje w wielu klastrach rozwiązania Azure Stack HCI. Należy opisać krok konfigurowania rozmiaru maszyn wirtualnych używanych do hostowania składników płaszczyzny sterowania klastra Kubernetes. Który z poniższych kroków jest następujący?