Anthos attach cluster

Anthos Attach Cluster (AAC) instruction
Date: 2021-09-11, Author: Microfusion - Youjun
本文件教学如何安装 k3s,做出一个自己的 kubernetes cluster,
并把这个 cluster attach 到 GCP 上面,可以从上面看到自己的 Cluster。
监控的部分(monitoring and logging),放到下个文件再说明。

所有示意图都是在 GCE 上操作,如果是自己的 VM,就请特别检查 gcloud 登入的 service account,并检查这个 service account 的权限即可。

环境需求

● VM1: master node
● (optional) VM
2: worker node
● (optional): master node’s open firewall/port 6443 for communicating with the worker node
● service account with the following role
○ Connect Gateway Admin
○ GKE Connect Agent
○ GKE Hub Admin
○ Project IAM Admin
○ Service Account Admin
○ Service Account Key Admin

p.s.
如果文件中有标记是程序码范例,表示从网站上复制下来之後,有依照实际情况,做一些参数的修改。建议仍以官网的模板为准。


Create Service Account from IAM
name for service account: demo-aac
default, we don’t give it any role.
in the following step, we‘ll update its permission one by one.

以下为示意图。


Create VM from GCE
name for master node: demo-aac-master
name for worker node: demo-aac-work01, demo-aac-work02
region and location: asia-east1, asia-east1-c
Machine Type: E2-micro-medium
os: Ubuntu 18.04
standard PD 20GB
firewall: default
service account 选择我们刚刚建立的 service account。

以下为示意图


<<:  Alpine Linux Porting (一点七?)

>>:  DAY13:玉山人工智慧挑战赛-中文手写字辨识(资料前处理)

用python下载东西

其实不用安装requests就可以下载东西 python的urllib.request.urlope...

DAY03 - 找到自学程序の入门砖

前言: 今天是铁人赛的第三天,昨天木暮投出的三分球还在飞...所以今天还是在回忆的模式里 找到自学程...

Web基础篇

先宣传一下我的新书,终於出来惹,感动到无法言语>"< 还请大家多多支持! We...

Day23 ( 游戏设计 ) 射击幽浮

射击幽浮 教学原文参考:射击幽浮 这篇文章会介绍如何使用「建立游戏角色」、「游戏角色座标」、「游戏角...

[DAY-11] 诚实敢言最大化 建立回馈循环

只说你敢当面对那个人说的话 越少在背後议论别人 会妨碍效率且引起负面感受的八卦就会减少 诚实就像看...