Comments (4)
Hi @eliassal, Thanks for contacting us. Do you have a specific question for Application Insights for Kubernetes or are you asking generally, how to host your containers in AKS?
If it is the prior, please state the specific issue, like what is your expectation vs what was not working.
If it is the latter, I would suggest you start with the official tutorial: https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-prepare-app
Please let me know if that helps.
from applicationinsights-kubernetes.
Exact, I followed the steps indicated at https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-prepare-app ut I used your apps and yaml files, after deployment, in AKS I have
when I dig, I see "ImagePullBackOff" as follows
I followed troubleshooting at https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/cannot-pull-image-from-acr-to-aks-cluster
what is strange is that when I exceute
az aks show --resource-group my-RG --name myKSCluster --query servicePrincipalProfile.clientId --output tsv
whereas executing
az role assignment list --scope /subscriptions/XXXXXXXXXXe3b-82512dfda843/resourceGroups/my-RG/providers/Microsoft.ContainerRegistry/registries/myACR
I get
Principal Role Scope
8c07666d-XXXX-XXXX-XXXXX-b0aacbd4b6b5 AcrPull /subscriptions/f151ee3f-4725-460d-8e3b-82512dfda843/resourceGroups/my-RG/providers/Microsoft.ContainerRegistry/registries/myACR
so what is missing? I thought that sa-role.yaml should be enoughyto fix the RBAC access. Wjhat m I missing?
Also, it is indicated in the troubleshooting page to
Compare the two service principals. If they don't match, integrate the AKS cluster with the container registry again.
How this can be done in our scenao?
from applicationinsights-kubernetes.
It looks like your K8s cluster doesn't have permission to pull from your ACR, that you will need to have proper permissions setup. The RBAC configuration in this repo will not help address that issue.
from applicationinsights-kubernetes.
Please refer to Authenticate with Azure Container Registry from Azure Kubernetes Service for how to set up permissions so that AKS can pull from ACR.
I'll close this issue now since there are no actionable items in this repo.
from applicationinsights-kubernetes.
Related Issues (20)
- Compliance: Unit test SDK depends on Newtonsoft.Json 9.0.1 HOT 2
- AKS no telemetry HOT 3
- Upgrade KubernetesClient to >= 10.0.16 to remove dependency on System.IO.Abstractions HOT 16
- backlog
- Add wiki for supporting Azure Function in K8s HOT 1
- No insight output as indicated in Zero Code light up Example HOT 4
- Can I use DefaultAzureCredential with Zero User Code Lightup? HOT 5
- Enhancement: Capture container image name HOT 6
- No container id found by container id providers after AKS upgrade 1.23->1.25 HOT 15
- Investigation: Using a label to locate the current container HOT 1
- Decouple Enhancement and container readiness HOT 2
- Cannot get pod info because of proxy configuration HOT 9
- As of now the package doesn HOT 1
- As of now the package doesn't seem to add the properties anymore? HOT 3
- Can't register Enrichers when using KeyedServices HOT 1
- Upgrade of `KubernetesClient` dependency HOT 18
- how to customize k8s properties name HOT 3
- Warning in pod logs re failed to get container id HOT 7
- Transitive vulnerable dependencies v7.0.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-kubernetes.