ThistutorialisdesignedforMicrosoftAzureandAzureCLI2.0.ItisaforkofthegreatKubernetesTheHardWayfromKelseyHightowerthatdescribessamestepsusingGoogleCloudPlatform.
AzurepartisbasedonthesuperbtranslationdonebyJonathanCarter-@lostintangentinthisfork.HeistheonewhoisreallybehindtheAzure"translation".
ThistutorialwalksyouthroughsettingupKubernetesthehardway.ThisguideisnotforpeoplelookingforafullyautomatedcommandtobringupaKubernetescluster.Ifthat'syouthencheckoutAzureContainerServices,ortheGettingStartedGuides.
KubernetesTheHardWayisoptimizedforlearning,whichmeanstakingthelongroutetoensureyouunderstandeachtaskrequiredtobootstrapaKubernetescluster.
KubernetesDashboardconfigurationhasbeenaddedattheendofthetutorial,toletyouplaywiththeclusterthroughaUI.
Theresultsofthistutorialshouldnotbeviewedasproductionready,andmayreceivelimitedsupportfromthecommunity,butdon'tletthatstopyoufromlearning!
TargetAudienceThetargetaudienceforthistutorialissomeoneplanningtosupportaproductionKubernetesclusterandwantstounderstandhoweverythingfitstogether.
ClusterDetailsKubernetesTheHardWayguidesyouthroughbootstrappingahighlyavailableKubernetesclusterwithend-to-endencryptionbetweencomponentsandRBACauthentication.
Kubernetes1.17.3containerdContainerRuntime1.3.3gVisorlatestCNIContainerNetworking0.7.1etcdv3.3.18CoreDNSv1.6.7LabsThistutorialassumesyouhaveaccesstotheMicrosoftAzure.WhileAzureisusedforbasicinfrastructurerequirementsthelessonslearnedinthistutorialcanbeappliedtootherplatforms.
PrerequisitesInstallingtheClientToolsProvisioningComputeResourcesProvisioningtheCAandGeneratingTLSCertificatesGeneratingKubernetesConfigurationFilesforAuthenticationGeneratingtheDataEncryptionConfigandKeyBootstrappingtheetcdClusterBootstrappingtheKubernetesControlPlaneBootstrappingtheKubernetesWorkerNodesConfiguringkubectlforRemoteAccessProvisioningPodNetworkRoutesDeployingtheDNSClusterAdd-onSmokeTestDashboardCleaningUp
评论