rancher-as-code's People
Forkers
gidihup fabiobo2005 stevencorrea charliekuharski loadaverage lczupryn dawidmalina sergeipogrebnyak curx caleno chaets thehar pbaezab joetman kylerome michaellqu wjwidener sergiogiuffrida ufilmn th3architect onuryaz asmtal ecogit-stagerancher-as-code's Issues
Configuring local cluster
Hi, thanks for this great guide.
I'm trying to configure the local cluster, specifically to enable cluster monitoring.
The problem i'm having is that the cluster is not in the terraform state understandably.
So i cannot do something like this (as terraform wants to create a new cluster):
resource "rancher2_cluster" "local" {
name = "local"
description = "Foo rancher2 imported cluster"
depends_on = ["rancher2_bootstrap.admin"]
enable_cluster_monitoring = true
}
I looked around RKE and the rancher helm chart and couldn't find anywhere where you could configure cluster_monitoring on the local cluster there.
I could import the state of the local cluster to terraform manually, but i would really prefer not having a manual step.
Do you have any pointers on how this can be achived using terraform as i would like this to be automated.
values_yaml is not base64 encoded
Any tips on how I can solve this?
Error installing Rio
Error: expanding app: values_yaml is not base64 encoded: rio:
env:
- name: IP_ADDRESSES
value: x.x.x.xon main.tf line 28, in resource "rancher2_app" "rio":
28: resource "rancher2_app" "rio" {
rancher2_app "rio"
values_yaml = <<EOF
rio:
env:
- name: IP_ADDRESSES
value: ${join(",", data.terraform_remote_state.cluster.outputs.worker_addresses)}
EOF
values_yaml - (Optional) values.yaml base64 encoded file content for the app template. If modified, app will be upgraded (string)
Ref. rancher2_app
I tried using '${base64encode("")}' in different ways but without success
can not create duplicate ssh key with same name on aws
Error using duplicate ssh keys in AWS
Steps to reproduce
After completing the install of rancher-server
and during the install of user-cluster
I got the following error:
status code: 400, request id: 0a91901f-8ced-40c9-a19d-b1388d7e61b5
on ssh.tf line 20, in resource "aws_key_pair" "ssh":
20: resource "aws_key_pair" "ssh" {```
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.