-
Create namespace for influxdb
kubectl create ns influxdb
-
We'll store InfluxDB data on AWS EBS as persistent storage, hence for that create storage class
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: influxdb 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 influxdb stable/influxdb --namespace influxdb --set service.type=LoadBalancer,persistence.enabled=true,persistence.storageClass=influxdb,persistence.size=100Gi
-
Verify the installation
helm list -n influxdb kubectl get sc -n influxdb kubectl get po -n influxdb
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