Code & DevOps Config templates for many popular programming languages and DevOps tools including:
- Kubernetes - templates for every major k8s object eg. deployment.yaml, statefulset.yaml, service.yaml, ingress.yaml, kustomization.yml and many others
- Terraform - provider.tf, backend.tf, variables.tf, terraform.tfvars - see this bundle trick
- Docker - Dockerfile, docker-compose.yml
- AWS - various templates
- GCP - cloudbuild.yaml, cloudbuild-golang.yaml, gcp_deployment-manager.yaml
- Jenkins - Jenkinsfile (advanced) and vars/ Shared Library
- Vagrant - Vagrantfile
- Make - Makefile
- Maven - pom.xml
- SBT - build.sbt
- Gradle - build.gradle
- Golang - template.go
- Groovy - template.groovy
- Perl - template.pl, template.pm
- Python / Jython - template.py /
template.jy
- Ruby / JRuby - template.rb, template.jrb
- Scala - template.scala
- Bash - template.sh
- Puppet - template.pp
- Circle CI - circleci_config.yml
- SQL - template.sql
- XML - template.xml
- YAML - template.yaml
Forked from DevOps Perl tools repo for which this is now a submodule.
new.pl
can instantiate these templates as new date-timestamped files, autopopulating the date, vim tags, GitHub URL and other headers and drops you in to your $EDITOR
of choice (eg. vim
).
You can give an exact filename like Dockerfile
, Makefile
, Jenkinsfile
, docker-compose.yml
, pom.xml
, build.gradle
, or you can instantiate one of the templates based on their file extension (eg. py
, sh
) with any filename (eg. main.py
, test.py
, myapp.py
).
Examples:
new Dockerfile
new Jenkinsfile
new docker-compose.yml
new myapp.py
new build.gradle
new.pl
can be found in the DevOps Perl tools repo.
alias new=new.pl
(done automatically in the DevOps Bash tools repo .bash.d/
)
Instantly creates and opens all standard files for a Terraform deployment in your $EDITOR
of choice:
all heavily commented to get a new Terraform environment up and running quickly - with links to things like AWS / GCP regions, Terraform backend providers, state locking etc.
new terraform
or shorter
new tf
-
DevOps Bash Tools - 550+ DevOps Bash Scripts, Advanced
.bashrc
,.vimrc
,.screenrc
,.tmux.conf
,.gitconfig
, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies -
SQL Scripts - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery
-
Kubernetes configs - Kubernetes YAML configs - Best Practices, Tips & Tricks are baked right into the templates for future deployments
-
DevOps Python Tools - 80+ DevOps CLI tools for AWS, GCP, Hadoop, HBase, Spark, Log Anonymizer, Ambari Blueprints, AWS CloudFormation, Linux, Docker, Spark Data Converters & Validators (Avro / Parquet / JSON / CSV / INI / XML / YAML), Elasticsearch, Solr, Travis CI, Pig, IPython
-
The Advanced Nagios Plugins Collection - 450+ programs for Nagios monitoring your Hadoop & NoSQL clusters. Covers every Hadoop vendor's management API and every major NoSQL technology (HBase, Cassandra, MongoDB, Elasticsearch, Solr, Riak, Redis etc.) as well as message queues (Kafka, RabbitMQ), continuous integration (Jenkins, Travis CI) and traditional infrastructure (SSL, Whois, DNS, Linux)
-
DevOps Perl Tools - 25+ DevOps CLI tools for Hadoop, HDFS, Hive, Solr/SolrCloud CLI, Log Anonymizer, Nginx stats & HTTP(S) URL watchers for load balanced web farms, Dockerfiles & SQL ReCaser (MySQL, PostgreSQL, AWS Redshift, Snowflake, Apache Drill, Hive, Impala, Cassandra CQL, Microsoft SQL Server, Oracle, Couchbase N1QL, Dockerfiles, Pig Latin, Neo4j, InfluxDB), Ambari FreeIPA Kerberos, Datameer, Linux...
-
HAProxy Configs - 80+ HAProxy Configs for Hadoop, Big Data, NoSQL, Docker, Elasticsearch, SolrCloud, HBase, Cloudera, Hortonworks, MapR, MySQL, PostgreSQL, Apache Drill, Hive, Presto, Impala, ZooKeeper, OpenTSDB, InfluxDB, Prometheus, Kibana, Graphite, SSH, RabbitMQ, Redis, Riak, Rancher etc.
-
Dockerfiles - 50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Mesos, Consul, Riak, OpenTSDB, Jython, Advanced Nagios Plugins & DevOps Tools repos on Alpine, CentOS, Debian, Fedora, Ubuntu, Superset, H2O, Serf, Alluxio / Tachyon, FakeS3