Author: nim
[Terraform] Online Lab Terraform (FREE).
Đầu tiên bạn cần truy cập và đăng nhập (Có thể đăng nhập bằng google, …)https://kodekloud.com Bước tiếp theo bạn truy cập vào link lab:Udemy Labs- Terraform for Beginners Bạn sử dụng code trong video nhé! Nếu bạn mà code trong video không thể đăng nhập được.Bạn có thể comment và điện email vào ô…
[Kubernetes] Having unbound immediate PersistentVolumeClaims
pod didn’t trigger scale-up (it wouldn’t fit if a new node is added): 23 pod has unbound immediate PersistentVolumeClaims0/166 nodes are available: 166 pod has unbound immediate PersistentVolumeClaims Trường hợp trên thì bạn kiểm tra cái PVC mà pod đang mount có ready ko nhé Reference Link.https://jhooq.com/pod-has-unbound-immediate-persistent-volume-claims/
[Kubernetes] POD XXXX is in the cache, so can’t be assumed
Khi mà bạn deploy 1 application trên k8s và bạn thấy pod của mình như sau: “is in the cache, so can’t be assumed“ Hiện tại cách của mình là xoá pod đó đi.Hoặc move pod đó sang 1 node khác Dưới dây là mình tham khảo 1 post của Trung quốc Refer to https://www.cnblogs.com/Serverlessops/p/12563692.html…
Read More “[Kubernetes] POD XXXX is in the cache, so can’t be assumed” »
[AWS] – Terraform Beginner – Lesson 1: Create a Free Account of AWS
Bạn truy cập trang webhttps://aws.amazon.com/free/free-tier/ Cardholder’s name: Cái này là tên Của mình trên thẻ Giờ signin thôihttps://console.aws.amazon.com/
[Terraform] Lesson 11: Create GKE (kubernetes) on Google with Terraform
Làm sao để tạo 1 cluster k8s trên GCP bằng terraform https://antonputra.com/google/create-gke-cluster-using-terraform/ 1) Create VPC in GCP using Terraform Đầu tiên chúng ta cần tạo VPC cho 1 new project GCP. => chúng ta cần enable compute APIĐể tạo 1 cluster GKE (k8s) => chúng ta cần enable container google API ==> Chúng ta enble…
Read More “[Terraform] Lesson 11: Create GKE (kubernetes) on Google with Terraform” »
[Terraform] Lesson 10: NoSQL Database in GCP with Terraform
1) Cloud BigTable with Terraform Giờ thì bạn click create Đây là code terraform 2) Cloud MemoryStore with Terraform MemoryStore thì sẽ giống với redis Sau đây là code terraform
[Terraform] Lesson 9: Relational DB – Cloud SQL & Spanner with Terraform
1) Cloud Spanner with Console Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. 2) Cloud Spanner with Terraform Giờ mình cung cấp code terraformfile main.tf giờ bạn terraform init rổi đến apply Và đương nhiên là chúng ta sẽ gặp lỗi: Error creating Instance: googleapi: Error 403: Caller is missing…
Read More “[Terraform] Lesson 9: Relational DB – Cloud SQL & Spanner with Terraform” »
[Terraform] Lesson 8: Cloud PubSub with Terraform
1) Cloud PubSub with Cloud Console Chúng ta đã tạo được topic và subscriptionsgiờ chúng input messages vào topic manual nhé! 2) Cloud PubSub with Cloud Terraform sau đây à phần code terraform. 3) schemas Bạn tưởng tượng phần này sẽ là model hay là định nghĩa các messages khi ghi vào topic thì phải…
Read More “[Terraform] Lesson 8: Cloud PubSub with Terraform” »
[Terraform] Lesson 7: Cloud BigQuery with Terraform
Bạn có thể tạo table từ data có sẵn Còn nếu đây là toạ mới thì để là empty table Giờ sài terraform. Cái này ngắn các bạn tử run trải nghiệm nhé!