Coder Social home page Coder Social logo

rancher-as-code's People

Contributors

drpebcak avatar jeffb4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rancher-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.x

on 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.