Automation Framework
This is not meant to be in production, this is a development environment
- You know the basics of Docker.
- You know the basics of Docker Compose.
- You know the basics of Docker Swarm.
- You are using microk8s.
- You have enabled add-ons dns, metallb, storage, and registry in microk8s.
- You know the basics of Kubernetes/k8s.
- You know the basics of Kubernetes YAML.
-
The base Makefile is meant to be used with Docker Swarm
-
The Makefile located in docker/compose is used for individual architecture pieces
-
Compose does not have memory limits
- You may need to run this command on the host system
sysctl -w vm.max_map_count=262144
- You need to create a super user use the following command, and follow prompts.
docker exec -it <container-name> nautobot-server createsuperuser
-
Default username admin default password admin
-
It will ask you to change the password on first login
- This is a insecure registry the following must be done to use it
- create daemon.json in /etc/docker and add the following
{
"insecure-registries" : ["<ip or domain name>:5000"]
}
- restart docker daemon
sudo systemctl restart docker
- In order to use the registry in compose you must log in using the credentials' admin/admin
docker login <ip or domain name>:5000 -u admin -p admin
- You can verify you are logged in by looking in ~/.docker/config.json you should see something like this
{
"auths": {
"<ip or domain name>:5000": {
"auth": "secret-key"
}
}
}
- To check images you add in it. In your browser.
# To see your repositories
http://<ip or domain name>:5000/v2/_catalog
# To see the tags in your repositories
http://<ip or domain name>:5000/v2/<repo-name>/tags/list
- vm.max_map_count
- curl examples send data to ELK
- nautobot-lab reference
- Docker
- Docker Compose
- Docker Swarm
- Dockerfile Reference
- Docker Compose Reference
- Docker Registry Detail
- Kubernetes/k8s
- Kubernetes YAML
- microk8s
- microk8s add-ons
- kompose
ARCHITECTURE | USED FOR |
---|---|
Kafka | As a message bus |
ELK Elastic Search | Logging search, various other stuff |
Hashicorp Vault | Secrets Storage |
Nautobot | "Source of truth" |
A Genie Parser | Something to parse show commands |
ARCHITECTURE | USED FOR |
---|---|
Kafka | As a message bus |
ELK Elastic Search | Logging search, various other stuff |
Hashicorp Vault | Secrets Storage |
Nautobot | "Source of truth" |
A Genie Parser | Something to parse show commands |
MongoDB | Document dB |
Batfish | Modeling |
Influxdb | Series dB |
Grafana | Pretty Graphs |
Docker Registry | To hold docker images |
Docker Registry Browser | To Browse the Registry |
JetBrains TeamCity | CI/CD |
ARCHITECTURE | USED FOR |
---|---|
Kafka | As a message bus |
ELK Elastic Search | Logging search, various other stuff |
Hashicorp Vault | Secrets Storage |
MongoDB | Document dB |
Batfish | Modeling |
Influxdb | Series dB |
Grafana | Pretty Graphs |
JetBrains TeamCity | CI/CD |