/propgen

Container Property File Generator

Primary LanguageGoApache License 2.0Apache-2.0

Big Data Ecosystem Properties Generator

Properties File Generator for using in Big Data Kubernetes Deployments. This tool is for using along the configuration pattern:

Environment Variables File Mounted as ConfigMap + Properties Generator

config pattern

$ ./propgen 
Usage: propgen [flags] 
Flags:
  -file string
        /path/to/filename
  -label string
        NIFI
        HADOOP
        ZOOKEEPER
        KUDU
        IMPALA
        HIVE
  -render string
        coresite
        hdfssite
        nifiproperties
        zoocfg
        kudumaster
        kuduworker
        impaladaemon
        impalacatalog
        impalastatestore
        impalaadmission
        metastoresite
Examples:
        propgen -label NIFI -render nifiproperties -file /opt/nifi/conf/nifi.properties
        propgen -label HADOOP -render coresite -file /opt/hadoop/etc/hadoop/conf/core-site.xml
        propgen -label HADOOP -render hdfssite -file /opt/hadoop/etc/hadoop/conf/hdfs-site.xml
        propgen -label ZOOKEEPER -render zoocfg -file /opt/zookeeper/conf/zoo.cfg
        propgen -label KUDU -render kudumaster -file /opt/kudu/conf/master.gflagfile
        propgen -label HIVE -render metastoresite -file /opt/hive-metastore/conf/metastore-site.xml