microservices-on-kubernetes icon indicating copy to clipboard operation
microservices-on-kubernetes copied to clipboard

Some Questions

Open davisford opened this issue 6 years ago • 7 comments

Hi Denis,

I'm working on Terraform scripts to setup the CB operator and the cluster. When I follow your scripts, I don't see where the CRD gets created in your instructions. I'm guessing that maybe the operator is creating the CRD, b/c you're passing it a flag --create-crd?

davisford avatar Mar 19 '19 16:03 davisford

Hi Davis,

My script is already outdated, better follow this doc here: https://docs.couchbase.com/operator/1.1/install-kubernetes.html

On Tue, Mar 19, 2019 at 5:32 PM Davis Ford [email protected] wrote:

Hi Denis,

I'm working on Terraform scripts to setup the CB operator and the cluster. When I follow your scripts, I don't see where the CRD gets created in your instructions. I'm guessing that maybe the operator is creating the CRD, b/c you're passing it a flag --create-crd?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deniswsrosa/microservices-on-kubernetes/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AANLxpGbPW4GFuYcpKjPEgMCTkiLM8w1ks5vYREUgaJpZM4b8lnJ .

deniswsrosa avatar Mar 19 '19 20:03 deniswsrosa

I am using that d/l package linked there as my reference. It is very similar to what you have, in fact. Still wondering about CRD though -- do you know what the operator does when you pass it the command --create-crd? I'm assuming it attempts to to create the couch crd, but do you know if it is trying to read it from the filesystem yaml, or if it has a version it needs hard-coded in its own container? I'm trying to figure out what the operator is doing so I can convert the construction of it over to TF

davisford avatar Mar 20 '19 14:03 davisford

Hey davis, I updated the doc with my latest version. It should work for you now.

deniswsrosa avatar Mar 20 '19 17:03 deniswsrosa

kubectl create -f spring-boot-load-balancer.yaml where is the yam file located it is not in the kubernetes folder

shyaml avatar Aug 14 '19 21:08 shyaml

They are here now https://github.com/deniswsrosa/microservices-on-kubernetes/tree/master/kubernetes/1.2 , in the v1.2 of the operator a lot of things changed, so I decided to organize the yaml files according to the operator version

deniswsrosa avatar Aug 15 '19 07:08 deniswsrosa

spring-boot-load-balancer.yaml is missing or is this not important

shyaml avatar Aug 15 '19 15:08 shyaml

It is not important if you don't want to expose your service to the world. You can access your service using:

kubectl port-forward name_of_my_pod 8080:8080

It will forward the 8080 port of the spring boot application to you the 8080 of your local machine

On Thu, Aug 15, 2019 at 5:23 PM shyaml [email protected] wrote:

spring-boot-load-balancer.yaml is missing or is this not important

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/deniswsrosa/microservices-on-kubernetes/issues/1?email_source=notifications&email_token=AABUXRUNBY3IUYHTKO2654LQEVYIZA5CNFSM4G7SLHE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MDWHY#issuecomment-521681695, or mute the thread https://github.com/notifications/unsubscribe-auth/AABUXRQVBWEZ37R5GQ4NJK3QEVYIZANCNFSM4G7SLHEQ .

deniswsrosa avatar Aug 15 '19 16:08 deniswsrosa