mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 16:04:26 +01:00
It's been pointed out that D4s_v5 instances are more powerful than the D4s_v3 ones, and have the very same price. With this in mind, let's switch to the newer machines. Fixes: #6606 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
33 lines
778 B
YAML
33 lines
778 B
YAML
name: CI | Create AKS cluster
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
name:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
create-aks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Download Azure CLI
|
|
run: |
|
|
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
|
|
|
- name: Log into the Azure account
|
|
run: |
|
|
az login \
|
|
--service-principal \
|
|
-u "${{ secrets.AZ_APPID }}" \
|
|
-p "${{ secrets.AZ_PASSWORD }}" \
|
|
--tenant "${{ secrets.AZ_TENANT_ID }}"
|
|
|
|
- name: Create AKS cluster
|
|
run: |
|
|
az aks create \
|
|
-g "kataCI" \
|
|
-n "${{ inputs.name }}" \
|
|
-s "Standard_D4s_v5" \
|
|
--node-count 1 \
|
|
--generate-ssh-keys
|