azuredeploy
README.md
Repo that will store PoC file for varius services in order to deploy code to azure instances or AKS using:
- Jenkins and buildah
- Harness / Helm Charts for AKS deployment
- Ansible (possibly not needed)
- Terraform scripts for infrastrucutre initialization and undeployment
- Codefiles that will contain a simple basic app with the follwoing requriements.
- src/primary/primary.py starts a primary instance
- src/primary/config.ini set-up the primary instance for variables (the variables would change later on)
- src/primary/secondary.py start a secondary listener service
- Dockerfiles added to create the containers
- a primary and secondary image will exist, ports would need to be exposed and networking would need to be enabled
- hostnames for each would be primary_image and secondary_image
- a solution would be docker compose but in an AKS environment that might change as the intent is to keep a primary and secondary separate
- we would need to change the variables of either ini files or create say configuration files later on
- Further tests:
- compilation or other intractive behavior and see if these can be acted upon on the CI part
- Refined improvements:
- instead of a simple archive that has a few files have an app that code will compile on or script that starts, opens a port, listens for connection and accepts traffic, redirecting it to /dev/null ?
- Application may use a base docker image file.
- ACR registry will contain the container image and act as registry based on what Jenkins will build.
- Jenkins will need to deploy the app on a VM, Helm will deploy on AKS cluster
- Container image:
- should have some stress test tool to test out io/network flow to evaluate and gather data in Azure Monitor
- Azure Monitor should be set up such that it will collect custom data through AMA,
- Log Analytics
Commit history
- feat(terragrunt): Improve dependency handling & Kubernetes provider configuration
- Update README and andd nsconf and namespaces
- Update pipeline container_pipeline_rmt
- correct harness-delegate.yml, terragrunt
- change kubectl module and harness delegate
- added second state file for kubectl module, corrected some outputs
- use generate block instead of direct provider, add mock to the dependency
- input block in kubectl correction
- terra grunt restructure
- Create infrastructure harness_k8sinfra_rmt
- remove harness folder
- Update service harness_deploy_container_rmt
- Update service harness_deploy_container_rmt
- Create service harness_deploy_container_rmt
- Create pipeline container_pipeline_rmt
- change harness directory name
- git harness pipeline
- Add ACR mapping
- Add terrafrom files/terragrunt for aks deployment
- Correct service harness files
- Correct service harness files
- Correct service harness files
- correct harness yaml service definition
- add harness deployments and services
- Switching to terragrunt
- Configure AKS cluster DNS prefix and resolve related issues
- adding terraform scripts
- Terraform - Base Dir Format
- Terraform - Base Dir Format
- Terraform - Base Dir Format
- Terraform - Base Dir Format
- Push secondary image also, authenticate once
- Push secondary image also, authenticate once
- Push secondary image also, authenticate once
- Build two images in parallel in pipeline
- change context path
- custom docker image
- path setting
- revert pipeline setting
- Pipeline
- Pipeline
- Pipeline
- Pipeline
- Pipeline changes
- add terraform vm definition
- update readme
- add readme
- Change SCM polling to regular checks
- Dockerfile
- README add
- README add
- README add
- Dockerfiles
- feat: added docker-compose for jenkins
- Add jenkins file
- adding primary and seconadry test files
- Add placeholders
- add readme for project
Files
55 tracked files
at main.
.harness
infra
- harness_k8sinfra_rmt.yaml
pipeline
- container_pipeline.yml
services
- harness_deploy_container.yaml
- primary_container_deployment.yaml
- primary_service.yaml
- secondary_container_deployment.yaml
- secondary_service.yaml
- container_pipeline_rmt.yaml
codefiles
container
primary
- Dockerfile.primary
secondary
- Dockerfile.secondary
- Dockerfile
- README.md
src
primary
- config.ini
- primary.py
secondary
- config.ini
- secondary.py
- Dockerfile.primary
- Dockerfile.secondary
- README.md
- test.ini
jenkins
- Jenkinsfile
- README.md
terraform
deployment
aks
kubectl
- terragrunt.hcl
modules
kubectl
kubectl-cfg
- clusterrolebinding.yaml
- secret.yaml
- serviceaccount.yaml
- harness-delegate-nsconf.yaml
- harness-delegate.yml
- main.tf
- namespaces.yaml
- variables.tf
terraforn-azurerm-aks
- main.tf
vm
- vm.tf
- .terraform.lock.hcl
- main.tf
- outputs.tf
- README.md
- terraform.tfvars
- terragrunt.hcl
- variables.tf
- versions.tf
eventhubs
modules
eventhub
- eventhub.tf
- terraform.tfvars
- variables.tf
- versions.tf
- .terraform.lock.hcl
- eventhub.tf
- terragrunt.hcl
- versions.tf
- main.hcl
- .terraform.lock.hcl
- .gitignore
- docker-compose.yaml
- Dockerfile.jenkins
- README.md