azure-container-service

Azure Container Group Instance

牧云@^-^@ 提交于 2021-02-19 05:22:51
问题 I am working with Azure Container Instance group.. and one of my containers is constantly restarting.. it goes to a terminated state and restarts. Everything looks good in logs.. The container is running a spring framework + React application. When I run the containers locally.. it works perfectly. Am not sure what is happening behind the scenes? 回答1: You could use Azure CLI to set a restart policy of OnFailure or Never . az container create \ --resource-group myResourceGroup \ --name

Change docker daemon configuration on AKS node?

喜你入骨 提交于 2021-01-29 13:15:06
问题 I would like to change the docker daemon configuration regarding the size and time at which log rotation can happen. Is there any arm template config or az cli command where I can change this configuration on AKS node. 回答1: Right now both AKS and AKS-Engine don't allow for the ContainerRuntime configuration to be provided/overwritten. there is a PR on the AKS-Engine that will allow exposing the dataDir configuration of the containerRuntime. https://github.com/Azure/aks-engine/pull/3072 It.

Get all `Facets` from azure search without item result

北慕城南 提交于 2020-07-19 18:10:33
问题 Hi all I'm facing performance issues with azure cognitive search currently I have 956 Facets filed. When I load Documents from Azure server it's taking almost 30 to 35 seconds. But when I remove Facets from Azure search request Documents load in 2 to 3 seconds. So for this, I have created 2 API's First API load Document result from the azure server. Second API load all Facets from the azure server. Is there any way to load only Facets ? Code get the document from the azure server.

Remote VS Code development with code-server

可紊 提交于 2020-04-17 22:20:07
问题 I have deployed the image https://hub.docker.com/r/codercom/code-server which is remote VS code in Azure containers. But now if I want to open any Project(Eg: Angular Project with node and angular cli setup)in that VS Code and develop remotely how can I achieve this. 回答1: For your requirements, I think there are two ways to achieve it. One is that copy your project to the image and then deploy the image to the ACI. Or copy the project after deploying the image to ACI. Another is that mount

Managed Azure Kubernetes connection error

泪湿孤枕 提交于 2020-02-05 05:28:58
问题 The error I am getting after running kubectl cluster-info Kubernetes master is running at https://xxx-xxx-aks-yyyy.hcp.westeurope.azmk8s.io:443 To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Unable to connect to the server: net/http: TLS handshake timeout Rifats-MacBook-Pro:~ rifaterdemsahin$ kubectl cluster-info 回答1: There is some issue on Azure Server. Please refer to this similar issue. I suggest you could try again, if it still does not work, you could

Using Bearer tokens along with azure-sdk-for-js

守給你的承諾、 提交于 2020-01-25 09:15:09
问题 We are building a nodejs server, which authenticates the user using AAD . We get a JWT accessToken from the Microsoft login endpoint when a user logs in to our app. How do we use this token to make calls to get the blobs/containers using this javascript API? I don't want to make direct ajax requests to the API's using the ( Authorization: Bearer accessToken ) calls. I have succeeded in using postman like this to make the calls? How do I do this programmatically using blobServiceClient ? 回答1:

unable to access DB pod External IP from application

妖精的绣舞 提交于 2020-01-03 05:16:53
问题 I've created two pods top of Azure Kubernetes cluster 1) Application 2) MS SQL server both pods are exposed via Azure Loadbalancer and both having External IPs. I am unable to use the External IP in my application config file. But I can connect that SQL Server from anywhere. For some reason I am unable to telnet DB IP from Application container. the connection is getting timeout. but I can ping/telnet the DB's cluster ip. So I have tried to use the DB cluster IP in my config file to check if

Pull image Azure Container Registry - Kubernetes

淺唱寂寞╮ 提交于 2020-01-01 04:48:07
问题 Does anyone have any advice on how to pull from Azure container registry whilst running within Azure container service (kubernetes) I've tried a sample deployment like the following but the image pull is failing: kind: Deployment apiVersion: extensions/v1beta1 metadata: name: jenkins-master spec: replicas: 1 template: metadata: name: jenkins-master labels: name: jenkins-master spec: containers: - name: jenkins-master image: myregistry.azurecr.io/infrastructure/jenkins-master:1.0.0

AKS in a private VNET behind a corporate proxy

半世苍凉 提交于 2019-12-24 11:15:27
问题 we have our AKS running in a private VNET, behind a corporate proxy. The proxy is not a "transparent" proxy and needs to be configured manually an all nodes. Is this a supported behavior? Is it possible to configure worker nodes and all system containers to work via proxy? 回答1: Actually, Azure Kubernetes managed by Azure and in a private Vnet create yourself or Azure. You can use the Load Balancer to transfer the traffic or use ingress. But you just can select one size and type for the nodes