-
Notifications
You must be signed in to change notification settings - Fork 0
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
issue-106, using Instaclustr with Kubernetes doc was added #346
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
## Using Instaclustr with Kubernetes | ||
This document will instruct you how to install the instaclustr operator in your Kubernetes cluster | ||
and how to work with it. | ||
|
||
Also, you can see [demo](https://drive.google.com/file/d/1HNRimZRKkzYU57S1mBfS_MakQLp4k3c9/view?usp=sharing) video with all these instructions. | ||
|
||
We will complete the following steps: | ||
1. Install Instaclustr operator | ||
2. Create Cassandra cluster | ||
3. Update Cassandra cluster | ||
4. Delete Cassandra cluster | ||
|
||
### Install Instaclustr operator | ||
#### 1. Deploy cert manager | ||
``` sh | ||
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml | ||
``` | ||
|
||
#### 2. Install helm | ||
Download and Install helm on your Kubernetes cluster from [source](https://helm.sh/docs/intro/install/). | ||
|
||
#### 3. Use helm to install Instaclustr operator | ||
Using helm, add the instaclustr operator to Helm repository. More details [here](https://helm.sh/docs/helm/helm_repo_add/). | ||
```sh | ||
helm repo add operator-chart https://instaclustr.github.io/operator-helm/ | ||
``` | ||
|
||
#### Install Instaclustr operator in your Kubernetes cluster. More details here. | ||
Change test values to your actual data | ||
- USERNAME - UserName can be retrieved from the console by going to account icon to the top right > My Profile > User Details. | ||
|
||
![Account icon](images/account_icon_screen.png "Account icon") | ||
|
||
![My profile](images/my_profile_screen.png "My profile") | ||
|
||
![User details](images/user_details_screen.png "User details") | ||
- APIKEY - Account API keys can be retrieved any time from the console by going to gear icon to the top right > Account Settings > API Keys. More details here. | ||
|
||
![Gear icon](images/gear_icon_screen.png "Gear icon") | ||
|
||
![Account settings](images/account_settings_screen.png "Account settings") | ||
|
||
![Api keys](images/api_keys_screen.png "Api keys") | ||
- HOSTNAME - Default value is api.instaclustr.com. You can change it if you want to use another HostName. More information here. | ||
|
||
```sh | ||
helm install operator operator-chart/operator \ | ||
--set USERNAME=test \ | ||
--set APIKEY=test \ | ||
--set HOSTNAME=api.instaclustr.com \ | ||
-n instaclustr-operator --create-namespace | ||
``` | ||
You can run ``` kubectl get pods -n instaclustr-operator ``` to check if operator is running. | ||
|
||
**_All examples for all available resources you can find in "doc" folder_** |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Let's add this info for all resources
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.
Added