Git Product home page Git Product logo

Comments (5)

garthy avatar garthy commented on July 2, 2024

Hi can you post your input variables? (The non sensitive bits)

from terraform-kubernetes-installer.

eclectiqus avatar eclectiqus commented on July 2, 2024

Sure. It's pretty vanilla from the example file though.

region = "us-ashburn-1"
cloud_controller_user_ocid = "ocid1.tenancy.oc1..aaaaaaaafzkf23c5nxd47p7kmwkaevnpghc5umfdmrrizgtec3kbocaz5srq"

etcdShape = "VM.Standard1.2"
k8sMasterShape = "VM.Standard1.8"
k8sWorkerShape = "VM.Standard1.8"

etcdAd1Count = "1"
etcdAd2Count = "1"
etcdAd3Count = "1"

k8sMasterAd1Count = "1"
k8sMasterAd2Count = "1"
k8sMasterAd3Count = "1"

k8sWorkerAd1Count = "1"
k8sWorkerAd2Count = "1"
k8sWorkerAd3Count = "1"

etcdLBShape = "100Mbps"
k8sMasterLBShape = "100Mbps"

etcd_ssh_ingress = "10.0.0.0/16"
etcd_ssh_ingress = "0.0.0.0/0"
etcd_cluster_ingress = "10.0.0.0/16"
master_ssh_ingress = "0.0.0.0/0"
worker_ssh_ingress = "0.0.0.0/0"
master_https_ingress = "0.0.0.0/0"
worker_nodeport_ingress = "0.0.0.0/0"
worker_nodeport_ingress = "10.0.0.0/16"

control_plane_subnet_access = "public"
k8s_master_lb_access = "public"
natInstanceShape = "VM.Standard1.2"
nat_instance_ad1_enabled = "true"
nat_instance_ad2_enabled = "false"
nat_instance_ad3_enabled = "true"
nat_ssh_ingress = "0.0.0.0/0"
public_subnet_http_ingress = "0.0.0.0/0"
public_subnet_https_ingress = "0.0.0.0/0"

worker_iscsi_volume_create = true
worker_iscsi_volume_size = 100

etcd_iscsi_volume_create = true
etcd_iscsi_volume_size = 50

from terraform-kubernetes-installer.

eclectiqus avatar eclectiqus commented on July 2, 2024

odd. I've refreshed my copy of the project, saw a bunch of changed files. And now I'm getting an error that VM.Standard1.8 is not found or not authorized:

Error: Error applying plan:

3 error(s) occurred:

  • module.instances-k8smaster-ad2.oci_core_instance.TFInstanceK8sMaster: 1 error(s) occurred:

  • oci_core_instance.TFInstanceK8sMaster: Service error:NotAuthorizedOrNotFound. shape VM.Standard1.8 not found. http status code: 404

  • module.instances-k8smaster-ad1.oci_core_instance.TFInstanceK8sMaster: 1 error(s) occurred:

  • oci_core_instance.TFInstanceK8sMaster: Service error:NotAuthorizedOrNotFound. shape VM.Standard1.8 not found. http status code: 404

  • module.instances-k8smaster-ad3.oci_core_instance.TFInstanceK8sMaster: 1 error(s) occurred:

  • oci_core_instance.TFInstanceK8sMaster: Service error:NotAuthorizedOrNotFound. shape VM.Standard1.8 not found. http status code: 404

from terraform-kubernetes-installer.

eclectiqus avatar eclectiqus commented on July 2, 2024

I notched the shape down to standard1.2 and viola, it worked!

Now scripts/cluster-check.sh is failing which is strange, but probably because the authorized public key is somehow not showing up on the nodes.

from terraform-kubernetes-installer.

benofben avatar benofben commented on July 2, 2024

I'm seeing the same metadata size issue. I'm trying to stuff a 90k python script into cloud-init and we don't seem to allow that:

Error: Error applying plan:

1 error(s) occurred:

* oci_core_instance.utility: 1 error(s) occurred:

* oci_core_instance.utility: Service error:InvalidParameter. Metadata size is 174986 bytes and cannot be larger than 32000 bytes. http status code: 400. Opc request id: d3aeda8c3dd723c3a37994c57465db7e/038961F6E91429A60AF47B0BE9DD76AF/4EA48E454B9ACE92F7ABBB81F0A27A4A

What would it take to bump this limit?

from terraform-kubernetes-installer.

Related Issues (20)

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.