-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4598592
commit e7b3fb0
Showing
26 changed files
with
276 additions
and
46 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#!/bin/bash | ||
|
||
#docker build -t tpboudreau/librenms-device . | ||
|
||
docker build -t tpboudreau/librenms-device-v2c:0.1 . | ||
|
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
|
||
For temporary databases: | ||
|
||
kubectl create namespace librenms-temporary | ||
|
||
helm install \ | ||
--generate-name \ | ||
--values values.yaml \ | ||
--namespace librenms-temporary \ | ||
--set librenmsServices.mysql.storage.type=temporary \ | ||
--set librenmsServices.rrdcached.storage.type=temporary \ | ||
--set librenmsServices.redis.storage.type=temporary \ | ||
librenms | ||
|
||
helm list --namespace librenms-temporary | ||
|
||
... | ||
|
||
helm uninstall librenms-$RELEASE_ID --namespace librenms-temporary | ||
|
||
kubectl delete namespace librenms-temporary | ||
|
||
---------------------------------------------------------------------------------------------------------------- | ||
|
||
For databases backed by pre-configured persistent volume claims (the default): | ||
|
||
kubectl create namespace librenms | ||
|
||
helm install \ | ||
--generate-name \ | ||
--values values.yaml \ | ||
--namespace librenms \ | ||
--set librenmsServices.mysql.storage.claimName=$MYSQL_PVC_NAME \ | ||
--set librenmsServices.rrdcached.storage.claimName=$RRDCACHED_PVC_NAME \ | ||
--set librenmsServices.redis.storage.claimName=$REDIS_PVC_NAME \ | ||
librenms | ||
|
||
helm list --namespace librenms | ||
|
||
... | ||
|
||
helm uninstall $GENERATED_NAME --namespace librenms | ||
|
||
kubectl delete namespace librenms | ||
|
||
---------------------------------------------------------------------------------------------------------------- | ||
|
||
For databases running outside the Kubernetes cluster ... | ||
|
||
kubectl create namespace librenms | ||
|
||
helm install \ | ||
--generate-name \ | ||
--values values.yaml \ | ||
--namespace librenms \ | ||
--set librenmsServices.mysql.external.enabled=true,librenmsServices.mysql.external.address=$MYSQL_IP_ADDRESS,librenmsServices.mysql.external.port=$MYSQL_PORT \ | ||
--set librenmsServices.rrdcached.external.enabled=true,librenmsServices.rrdcached.external.address=$RRDCACHED_IP_ADDRESS,librenmsServices.rrdcached.external.port=$RRDCACHED_PORT \ | ||
--dry-run \ | ||
librenms | ||
|
||
helm list --namespace librenms | ||
|
||
... | ||
|
||
helm uninstall $GENERATED_NAME --namespace librenms | ||
|
||
kubectl delete namespace librenms | ||
|
||
---------------------------------------------------------------------------------------------------------------- | ||
|
||
For running the application in a Kubernetes cluster that forbids setuid / set-cap binaries ... | ||
|
||
kubectl create namespace librenms | ||
|
||
helm install \ | ||
--generate-name \ | ||
--values values.yaml \ | ||
--namespace librenms \ | ||
--set snmpPing.enabled=true \ | ||
librenms | ||
|
||
helm list --namespace librenms | ||
|
||
... | ||
|
||
helm uninstall $GENERATED_NAME --namespace librenms | ||
|
||
kubectl delete namespace librenms | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
|
||
Namespace: "librenms" | ||
|
||
image: | ||
repository: "docker.io/tpboudreau/librenms-console" | ||
tag: "0.1" | ||
|
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...renms/charts/librenms-services/Chart.yaml → ...brenms/charts/librenmsServices/Chart.yaml
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.