-
Notifications
You must be signed in to change notification settings - Fork 53
GitOps #839
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
Open
Bonusree
wants to merge
37
commits into
master
Choose a base branch
from
gitops-kafka
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
GitOps #839
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
ba8a267
kafka gitops
Bonusree b700d34
url fixed
Bonusree 0e5956c
title
Bonusree 7055724
changed weight
Bonusree d8cf4ce
organize front
Bonusree 4d29066
Signed-off-by: Bonusree <bonusree@appscode.com>
Bonusree 0de0326
elasticsearch without tls
Bonusree d75bcb7
gitops demo
Bonusree 114f857
maria
Bonusree 1c957fa
mssql some changes
Bonusree cf73124
csi add
Bonusree 21262df
mg
Bonusree bd669b7
rd
Bonusree 01c9af4
rd
Bonusree b07ab51
mg
Bonusree ee54e68
mariadb
Bonusree ca07b8c
md complete
Bonusree 54991c2
mssql
Bonusree 0c4a325
mssql
Bonusree d6d83f6
mssql
Bonusree d25eccb
mysql
Bonusree 518d40c
new gitops
Bonusree fd1b37a
link fix
Bonusree f9e44e6
change link
Bonusree 2a5ddca
mariadb
Bonusree 0eeaf7c
topology combined
Bonusree 9926587
topology
Bonusree dc747e6
topology
Bonusree 37dadff
mongo added
Bonusree 0a62afc
redis without tls
Bonusree 38cfd56
es
Bonusree a69e892
link change
Bonusree fd88cbc
review1 +es
Bonusree 2f8ac69
tls,standard
Bonusree a578a43
image added
Bonusree a3ae31e
some error fixed
Bonusree c94533d
overview guide
Bonusree 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -15,4 +15,4 @@ spec: | |
| resources: | ||
| requests: | ||
| storage: 1Gi | ||
| storageClassName: longhorn | ||
| storageClassName: standard | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -17,4 +17,4 @@ spec: | |
| resources: | ||
| requests: | ||
| storage: 1Gi | ||
| storageClassName: longhorn | ||
| storageClassName: standard | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -17,4 +17,4 @@ spec: | |
| resources: | ||
| requests: | ||
| storage: 1Gi | ||
| storageClassName: longhorn | ||
| storageClassName: standard | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -49,11 +49,11 @@ At first verify that your cluster has a storage class, that supports volume expa | |
| $ kubectl get storageclass | ||
| NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE | ||
| local-path (default) rancher.io/local-path Delete WaitForFirstConsumer false 6h2m | ||
| longhorn (default) driver.longhorn.io Delete Immediate true 9m41s | ||
| longhorn-static driver.longhorn.io Delete Immediate true 9m24s | ||
| standard (default) driver.standard.io Delete Immediate true 9m41s | ||
| standard-static driver.standard.io Delete Immediate true 9m24s | ||
|
Comment on lines
+52
to
+53
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| ``` | ||
|
|
||
| We can see from the output the `longhorn` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We can use it. | ||
| We can see from the output the `standard` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We can use it. | ||
|
|
||
| Now, we are going to deploy a `Cassandra` cluster using a supported version by `KubeDB` operator. Then we are going to apply `CassandraAutoscaler` to set up autoscaling. | ||
|
|
||
|
|
@@ -78,7 +78,7 @@ spec: | |
| replicas: 2 | ||
| storage: | ||
| storageClassName: | ||
| longhorn | ||
| standard | ||
| accessModes: | ||
| - ReadWriteOnce | ||
| resources: | ||
|
|
@@ -124,12 +124,12 @@ $ kubectl get petset -n demo cassandra-autoscale-rack-r0 -o json | jq '.spec.vol | |
|
|
||
| $ kubectl get pv -n demo | ||
| NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE | ||
| pvc-394fefad-d4ad-4dfa-ba11-df96e015da30 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-1 longhorn <unset> 21m | ||
| pvc-86ece3c8-520a-4d41-834e-66108867ca36 600Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-1 longhorn <unset> 21m | ||
| pvc-c35bb138-9f13-4098-b2b0-cc151f013f6d 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-0 longhorn <unset> 21m | ||
| pvc-cc932132-de53-425f-bd31-91af255a47e8 600Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-0 longhorn <unset> 21m | ||
| pvc-cd57fb5f-b2f3-48de-b9d2-03059b05113f 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-1 longhorn <unset> 21m | ||
| pvc-e550c573-60c7-4ec0-9e01-cf22683c502c 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-0 longhorn <unset> 21m | ||
| pvc-394fefad-d4ad-4dfa-ba11-df96e015da30 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-1 standard <unset> 21m | ||
| pvc-86ece3c8-520a-4d41-834e-66108867ca36 600Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-1 standard <unset> 21m | ||
| pvc-c35bb138-9f13-4098-b2b0-cc151f013f6d 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-0 standard <unset> 21m | ||
| pvc-cc932132-de53-425f-bd31-91af255a47e8 600Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-0 standard <unset> 21m | ||
| pvc-cd57fb5f-b2f3-48de-b9d2-03059b05113f 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-1 standard <unset> 21m | ||
| pvc-e550c573-60c7-4ec0-9e01-cf22683c502c 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-0 standard <unset> 21m | ||
| ``` | ||
|
|
||
| You can see the petset has 600Mi storage, and the capacity of all the persistent volume is also 600Mi. | ||
|
|
@@ -559,12 +559,12 @@ $ kubectl get petset -n demo cassandra-autoscale-rack-r0 -o json | jq '.spec.vol | |
|
|
||
| $ kubectl get pv -n demo | ||
| NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE | ||
| pvc-394fefad-d4ad-4dfa-ba11-df96e015da30 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-1 longhorn <unset> 45m | ||
| pvc-86ece3c8-520a-4d41-834e-66108867ca36 1148Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-1 longhorn <unset> 45m | ||
| pvc-c35bb138-9f13-4098-b2b0-cc151f013f6d 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-0 longhorn <unset> 45m | ||
| pvc-cc932132-de53-425f-bd31-91af255a47e8 1148Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-0 longhorn <unset> 45m | ||
| pvc-cd57fb5f-b2f3-48de-b9d2-03059b05113f 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-1 longhorn <unset> 45m | ||
| pvc-e550c573-60c7-4ec0-9e01-cf22683c502c 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-0 longhorn <unset> 45m | ||
| pvc-394fefad-d4ad-4dfa-ba11-df96e015da30 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-1 standard <unset> 45m | ||
| pvc-86ece3c8-520a-4d41-834e-66108867ca36 1148Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-1 standard <unset> 45m | ||
| pvc-c35bb138-9f13-4098-b2b0-cc151f013f6d 600Mi RWO Delete Bound demo/cassandra-autoscale-main-config-volume-cassandra-autoscale-rack-r0-0 standard <unset> 45m | ||
| pvc-cc932132-de53-425f-bd31-91af255a47e8 1148Mi RWO Delete Bound demo/cassandra-autoscale-data-cassandra-autoscale-rack-r0-0 standard <unset> 45m | ||
| pvc-cd57fb5f-b2f3-48de-b9d2-03059b05113f 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-1 standard <unset> 45m | ||
| pvc-e550c573-60c7-4ec0-9e01-cf22683c502c 600Mi RWO Delete Bound demo/cassandra-autoscale-nodetool-cassandra-autoscale-rack-r0-0 standard <unset> 45m | ||
|
|
||
| ``` | ||
|
|
||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -50,8 +50,8 @@ At first verify that your cluster has a storage class, that supports volume expa | |
| $ kubectl get storageclass | ||
| NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE | ||
| local-path (default) rancher.io/local-path Delete WaitForFirstConsumer false 5d22h | ||
| longhorn (default) driver.longhorn.io Delete Immediate true 6s | ||
| longhorn-static driver.longhorn.io Delete Immediate true 3s | ||
| standard (default) driver.standard.io Delete Immediate true 6s | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. . |
||
| standard-static driver.standard.io Delete Immediate true 3s | ||
|
|
||
| ``` | ||
|
|
||
|
|
@@ -77,7 +77,7 @@ spec: | |
| replicas: 2 | ||
| storage: | ||
| storageClassName: | ||
| longhorn | ||
| standard | ||
| accessModes: | ||
| - ReadWriteOnce | ||
| resources: | ||
|
|
@@ -126,12 +126,12 @@ $ kubectl get petset -n demo cassandra-prod-rack-r0 -o json | jq '.spec.volumeCl | |
|
|
||
| $ kubectl get pv -n demo | ||
| NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE | ||
| pvc-623e4d80-f508-4bb1-a4cb-4ebdbcbd8495 1Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-0 longhorn <unset> 82s | ||
| pvc-76b5a0a7-d234-426c-a4cc-ec740d6456ba 1Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-1 longhorn <unset> 64s | ||
| pvc-84588238-9fea-4ac3-9cfa-f7b04640697c 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-0 longhorn <unset> 82s | ||
| pvc-849d404c-d078-4802-a28f-6834d8c81998 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-1 longhorn <unset> 64s | ||
| pvc-85a6902d-a596-45db-94f9-1ce355600323 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-1 longhorn <unset> 64s | ||
| pvc-88d6586e-b502-481d-91fc-dd6381d9b1c0 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-0 longhorn <unset> 82s | ||
| pvc-623e4d80-f508-4bb1-a4cb-4ebdbcbd8495 1Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-0 standard <unset> 82s | ||
| pvc-76b5a0a7-d234-426c-a4cc-ec740d6456ba 1Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-1 standard <unset> 64s | ||
| pvc-84588238-9fea-4ac3-9cfa-f7b04640697c 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-0 standard <unset> 82s | ||
| pvc-849d404c-d078-4802-a28f-6834d8c81998 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-1 standard <unset> 64s | ||
| pvc-85a6902d-a596-45db-94f9-1ce355600323 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-1 standard <unset> 64s | ||
| pvc-88d6586e-b502-481d-91fc-dd6381d9b1c0 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-0 standard <unset> 82s | ||
| ``` | ||
|
|
||
| You can see the petsets have 1GB storage, and the capacity of all the persistent volumes are also 1GB. | ||
|
|
@@ -343,12 +343,12 @@ $ kubectl get petset -n demo cassandra-prod-rack-r0 -o json | jq '.spec.volumeCl | |
|
|
||
| $ kubectl get pv -n demo | ||
| NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE | ||
| pvc-7efa007f-5fb2-4e64-aea0-233ec456703f 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-1 longhorn <unset> 11m | ||
| pvc-88f8ec55-ae5b-48dd-9b3a-0dc113cdaa43 2Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-1 longhorn <unset> 11m | ||
| pvc-c455344e-0f17-42d2-8fd9-062fa2f1b0a1 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-0 longhorn <unset> 11m | ||
| pvc-d19d62ac-b37b-406e-a7d6-a10f4f74d929 2Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-0 longhorn <unset> 11m | ||
| pvc-df152a7a-12ea-4690-b64e-ccb2decce8cd 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-1 longhorn <unset> 11m | ||
| pvc-f8420d54-05f8-4ea2-b70c-11a3737e04e4 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-0 longhorn <unset> 11m | ||
| pvc-7efa007f-5fb2-4e64-aea0-233ec456703f 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-1 standard <unset> 11m | ||
| pvc-88f8ec55-ae5b-48dd-9b3a-0dc113cdaa43 2Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-1 standard <unset> 11m | ||
| pvc-c455344e-0f17-42d2-8fd9-062fa2f1b0a1 1Gi RWO Delete Bound demo/main-config-volume-cassandra-prod-rack-r0-0 standard <unset> 11m | ||
| pvc-d19d62ac-b37b-406e-a7d6-a10f4f74d929 2Gi RWO Delete Bound demo/data-cassandra-prod-rack-r0-0 standard <unset> 11m | ||
| pvc-df152a7a-12ea-4690-b64e-ccb2decce8cd 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-1 standard <unset> 11m | ||
| pvc-f8420d54-05f8-4ea2-b70c-11a3737e04e4 1Gi RWO Delete Bound demo/nodetool-cassandra-prod-rack-r0-0 standard <unset> 11m | ||
| ``` | ||
|
|
||
| The above output verifies that we have successfully expanded the data related volume of the Cassandra. | ||
|
|
||
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.