-
Notifications
You must be signed in to change notification settings - Fork 90
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
Scripting to create a GKE Cluster and install operator #38
Conversation
@johnrk this is blocked by lack of GCP account |
This PR includes some shell scripts that allow for the creation of an GKE cluster and pushing the operator container to GCP. This work will eventually create and install the operators, but I am doing the work in sections.
d7eb8f6
to
5efaab9
Compare
Now able to get a basic cluster working, but still have some cleanup to work on.
- Added functionity to look up the latest image - Fixed README.md
cc @chrisseto PTAL |
- because we are doing a cd to get kustomize to work, we are ending up in the wrong directory unless you run it from the root git directory. This change fixes that. - we probably should create a dynamic kustomize files so that we are not checking in new ones
The node field nodeTLSSecret is stopping the creation of the certificates and then the secret does not exist, and the cluster does not start. I'm figuring out what exactly this feild is for, and I think it might be for custom cert creation. Will test the examples more, but I think that they are working now
All of them are running now
We need a bigger cluster to run all of the examples at the same time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
hack/apply-crdb-example.sh
Outdated
|
||
# "---------------------------------------------------------" | ||
# "- -" | ||
# "- deploy the operator -" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add a space?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking to see if it is fix. I think it is a tab vs spaces problem.
hack/apply-operator.sh
Outdated
|
||
# "---------------------------------------------------------" | ||
# "- -" | ||
# "- deploy the operator -" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add a space?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking to see if it is fix. I think it is a tab vs spaces problem.
@@ -11,7 +11,8 @@ spec: | |||
resources: | |||
requests: | |||
storage: 60Gi | |||
storageClassName: crdb-io1 | |||
# this needs to be precreated and we are not checking this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this block be removed?
@chrisseto I fixed the comments. Can we merge? |
This PR includes some shell scripts that allow for