-
Create namespace for Grafana
kubectl create ns grafana
-
We'll store Grafana data on AWS EBS as persistent storage, hence for that create storage class
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: grafana provisioner: kubernetes.io/aws-ebs parameters: type: gp2 fsType: ext4 allowVolumeExpansion: true
-
Install using Helm - In this command we've set few values like
namespace, service type, storageclass and its size
helm install grafana stable/grafana --namespace grafana --set service.type=LoadBalancer,persistence.enabled=true,persistence.type=pvc,persistence.size=100Gi,persistence.storageClassName=grafana,namespaceOverride=grafana
-
Verify the installation
helm list -n grafana kubectl get sc -n grafana kubectl get po -n grafana
-
UI Credentials:
Username: admin
Password:
kubectl get secret --namespace grafana grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
When we want to use maven command line to upload zip type artifact to artifact repository then we don't want resources, compiler, surefire, install phases in maven process, only assembly would be enough. To skip particular phases go to each plugin's original website phase according to latest running plugin version download the same to our own project refer the skip phase configuration of particular phase, either it can be done command line or as part of the build-plugin-configuration. Example using POM.xml file <project> [...] <build> <plugins> <plugin> <groupId...
Comments
Post a Comment