Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubt about this terraform oke #33

Open
GuilhermeCF10 opened this issue Jan 10, 2024 · 1 comment
Open

Doubt about this terraform oke #33

GuilhermeCF10 opened this issue Jan 10, 2024 · 1 comment

Comments

@GuilhermeCF10
Copy link

Hi there, congrats for your job.

I was trying to create a OKE Cluster with Terraform OCI Always Free (Arm A1 Ampere Flex), 4 nodes, with 1 core, 6GB RAM, 50GB Storage each node, Similiar as the Interface on Cloud Oracle That i can create a "Quick create". I want to access the kubectl by my own computer so it's need to be public endpoint right? i tried to run with examples/private-cluster. But the node pool didn't create.

I don't know why but i have some problems in creating in "Quick create" cloud oracle interface, Do you have an terraform script that does this kinda of things, or this one could be editable for doing this things.

Thank you my friend

@ystory
Copy link
Owner

ystory commented Jan 10, 2024

  1. Accessing kubectl from your computer:
    Yes, you are correct. If you want to access the kubectl from your own computer, you would need a public endpoint. However, for security reasons, it’s recommended to set the control_plane_type to private and use a Bastion host. You can refer to this file for a free solution: https://github.com/ystory/terraform-oci-always-free-oke/blob/main/examples/private-cluster/modules/kubernetes/bastion-tennel.tf

  2. Node pool not being created:
    It’s hard to determine the exact cause without more information. However, if you’re also having trouble creating it via the Quick Create option on the Oracle Cloud interface, it might be due to an “Out of Host Capacity” issue. I recommend looking into this potential problem.

I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants