Comments (7)
Hi @ShurikAg
Thanks for submitting the issue.
Let me try to reproduce this scenario and get back to you. Thanks.
from kubernetes-starter-kit-developers.
@v-ctiutiu We should mark this as resolved since the PR is already merged.
from kubernetes-starter-kit-developers.
Looks like I had a wrong do_api_token. Fixed that, and not I am getting the following error:
│ Error: Get "http://localhost/api/v1/namespaces/flux-system": dial tcp [::1]:80: connect: connection refused
│
│ with module.doks_flux_cd.kubernetes_namespace.flux_system,
│ on .terraform/modules/doks_flux_cd/create-doks-with-terraform-flux/main.tf line 52, in resource "kubernetes_namespace" "flux_system":
│ 52: resource "kubernetes_namespace" "flux_system" {
from kubernetes-starter-kit-developers.
Hi @ShurikAg
Sorry for the late response. I managed to reproduce your issue, and I'm currently working on a fix. Seems to be a bug in our Terraform module. Will let you know when it's ready.
Thanks.
from kubernetes-starter-kit-developers.
A fix is already in progress, via container-blueprints #25.
from kubernetes-starter-kit-developers.
Managed to fix the issue in the upstream repository (where the custom TF module is hosted). All you have to do in your existing TF workspace is this:
-
Fetch the updated TF module from the upstream repository:
terraform get -update
-
Modify the
doks_cluster_pool_node_count
variable to suit your needs in themain.tf
file from your workspace. -
Create the plan:
terraform plan -out priz_prod_cluster.out
At the end Terrraform should show you that it is going to modify the node count from the pool. Something similar to (in my tests, I changed to node count from 1 to 2):
# module.doks_flux_cd.digitalocean_kubernetes_cluster.primary will be updated in-place
~ resource "digitalocean_kubernetes_cluster" "primary" {
id = "70cbf156-9415-43ba-a7b7-4e8cdfc7dc66"
name = "fluxcd-demo"
tags = []
# (14 unchanged attributes hidden)
~ node_pool {
id = "7131414a-05de-47b5-9396-7853ea2f3312"
name = "fluxcd-demo-pool"
~ node_count = 1 -> 2
tags = []
# (7 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
Please test and let me know how it goes.
Thanks.
from kubernetes-starter-kit-developers.
A PR containing the fix was already merged, and it was tested.
Users are encouraged to run terraform get -update
, in order to update their local copy of the module.
Closing the issue as fixed.
from kubernetes-starter-kit-developers.
Related Issues (20)
- Restic integration for velero HOT 1
- sealed-secrets chart version 2.0.2 is not deployable HOT 3
- Update starter kit tool's versions HOT 1
- Update chapter 4 with sample app HOT 1
- Update chapter 1 and chapter 4 in regards to observability node pool HOT 1
- Update step 7 alerting and notification HOT 1
- Kubernetes events into Grafana HOT 1
- Enhance chapter 7 with debugging step. HOT 1
- Continue with upgrades of Starter Kit, 1 Click Apps and container blueprints. HOT 3
- Add more information to chapter 7 related to multiple alerts and notifications HOT 1
- Chapter 7 alert rules.
- Kubernetes event driven autoscaling
- Refactor chapters 4, 5, 7 into a super chapter. HOT 2
- Incorrect table of contents on main readme HOT 1
- Kubernetes External Secret Operator Integration HOT 1
- Issuing certificate as Secret does not exist HOT 1
- Certificates not renewed automatically HOT 5
- Drop function is not working in promtail configuration HOT 1
- Waiting for HTTP-01 challenge propagation: failed to perform self check GET request HOT 1
- Installing the Ambassador Edge Stack Section Results in errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-starter-kit-developers.