https://github.com/theopolis/azure-microk8s-test
This repo is for testing Azure and Microk8s
https://github.com/theopolis/azure-microk8s-test
Last synced: over 1 year ago
JSON representation
This repo is for testing Azure and Microk8s
- Host: GitHub
- URL: https://github.com/theopolis/azure-microk8s-test
- Owner: theopolis
- Created: 2020-12-22T20:42:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T03:10:56.000Z (over 5 years ago)
- Last Synced: 2025-02-08T22:14:24.022Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Microk8s Test
Relevant things:
- [This GitHub repo](https://github.com/theopolis/azure-microk8s-test)
- [The azure-microk8s-test/azure-microk8s-test project](https://dev.azure.com/azure-microk8s-test/azure-microk8s-test)
- [The Azure Pipelines app](https://github.com/apps/azure-pipelines)
- [PATs Configuration](https://dev.azure.com/azure-microk8s-test/_usersSettings/tokens)
Links I found useful:
- [Getting started with Azure and GitHub](https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml)
- [Create your first pipeline](https://docs.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline)
- [Use Azure and self-hosted agencts](https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-multiplatform?view=azure-devops)
- [Run the Azure DevOps agent in Docker](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops)
- [Setup PATs for Access](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page)
The final parts:
```
docker build -t localhost:32000/azpagent:registry .
docker push localhost:32000/azpagent
microk8s kubectl create secret generic azure-microk8s-secret \
--from-literal=AZP_URL=https://dev.azure.com/ \
--from-literal=AZP_TOKEN=
microk8s kubectl apply -f azure-microk8s-deployment.yaml
```