This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource vnet_previewRG_9b4e_infra_subnet 'Microsoft.Network/virtualNetworks/subnets@2020-07-01' = { | |
name: 'vnet-previewRG-9b4e/infra-subnet' | |
properties: { | |
delegations: [ | |
{ | |
name: 'Microsoft.App.environments' | |
id: '/subscriptions/<subid>/resourceGroup/vnet-previewRG-9b4e/providers/Microsoft.Network/availableDelegations/Microsoft.App.environments' | |
type: 'Microsoft.Network/availableDelegations' | |
properties: { | |
serviceName: 'Microsoft.App/environments' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param location string | |
param environmentName string | |
resource environment 'Microsoft.App/managedEnvironments@2023-04-01-preview' = { | |
name: environmentName | |
location: location | |
properties: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.8 as build | |
RUN apk add --update alpine-sdk openssl-dev | |
RUN cd /tmp && \ | |
git clone https://github.com/giltene/wrk2 | |
RUN cd /tmp/wrk2 && \ | |
make | |
FROM alpine:3.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.8 | |
ARG VERSION=azcopy_linux_amd64_10.0.8 | |
RUN apk --update add --virtual build-dependencies --no-cache wget tar | |
RUN apk --update add libc6-compat ca-certificates | |
RUN wget -O azcopyv10.tar https://aka.ms/downloadazcopy-v10-linux && \ | |
tar -xf azcopyv10.tar && \ | |
mkdir /app && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: demo-api | |
namespace: default | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
certmanager.k8s.io/cluster-issuer: letsencrypt-prod | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
nginx.ingress.kubernetes.io/limit-connections: "2" |