AWS Technical Essentials - Lab [TOC] 1. AWS Technical Essentials - Lab1.1 Lab-1 Topology 1.1.1 Create VPC and web server (AWS Console) Create VPC (VPC can be accross AZ, but shall be within one region) Create Internet Gateway and 1984-01-24 #AWS #lab
Ansible lab [TOC] Infra preparationServers List Server Name IP address Role OS Ansible01 192.168.22.67 Web Server - 1 CentOS8 Ansible02 192.168.22.68 Web Server - 2 CentOS8 Ansible03 192.168.22.69 HAProx 1984-01-24 #lab #Ansible
Azure AKS [TOC] Azure AKSCreate Azure AKS via AZ CLI Login Azure 1az login Create Azure resource group 1az group create --name felix_test Create Azure AKS Cluster 1az aks create --resource-group felix_tes 1984-01-24 #Azure #AKS
Github 教程 [TOC] Step by step 1.git clone // 到本地2.git checkout -b xxx 切换至新分支xxx(相当于复制了remote的仓库到本地的xxx分支上3.修改或者添加本地代码(部署在硬盘的源文件上)4.git diff 查看自己对代码做出的改变5.git add 上传更新后的代码至暂存区6.git commit 可以将暂存区里更 1984-01-24
k8s and CICD lab [TOC] 01. Installation01.1.A Setup K8S Cluster (< V1.24)PreparationLab serversOS image: CentOS 8 stream K8S Master: 192.168.22.91K8S Node-1: 192.168.22.92K8S Node-2: 192.168.22.93 Rancher: 192.168 1984-01-24 #k8s #cicd
内置函数,工厂函数和魔法函数 内置函数,工厂函数 和 魔法函数内置函数 (Built-in Functions)python3 内置函数详解 Built-in Functions Python中声明每一个类系统都会加上一些默认内置方法,提供给系统调用该类的对象时使用。比如需要实例化一个对象时,需要调用该类的init方法;使用print去打印一个类时,其实调用的是str方法等等。 init(self, …):初始化对象cla 1984-01-24 #python