Skip to content

Instantly share code, notes, and snippets.

View Bryce-Soghigian's full-sized avatar
🎯
Focusing

Bryce Soghigian Bryce-Soghigian

🎯
Focusing
View GitHub Profile
---
title: Node autoprovisioning (preview)
description: Learn about Azure Kubernetes Service (AKS) node autoprovisioning (preview).
ms.topic: how-to
ms.custom: devx-track-azurecli
ms.date: 06/13/2024
ms.author: schaffererin
author: schaffererin
#Customer intent: As a cluster operator or developer, how to scale my cluster based on workload requirements and right size my nodes automatically
---
@Bryce-Soghigian
Bryce-Soghigian / gist:fc3de3a796b20dbed8fe5d2ca0c85dd4
Last active July 11, 2025 22:19
Scoped Subnet Permissions GIST
#!/bin/bash
# AKS Custom Networking Setup Script - Approach B (Scoped Subnet Permissions)
# This script creates an AKS cluster with custom VNet and subnets for Karpenter
set -e # Exit on any error
# Color codes for output
RED='\033[0;31m'
GREEN='\033[0;32m'
@Bryce-Soghigian
Bryce-Soghigian / gist:a4259d6224db0c55081718caa7b37268
Last active July 11, 2025 22:19
Custom VNET Setup -- Most Permissive RBAC
#!/bin/bash
# AKS Custom Networking Setup Script - Approach A (Broad VNet Permissions)
# This script creates an AKS cluster with custom VNet and subnets for Karpenter
set -e # Exit on any error
# Color codes for output
RED='\033[0;31m'
GREEN='\033[0;32m'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Heart Curves</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
@Bryce-Soghigian
Bryce-Soghigian / newyear.html
Created January 30, 2025 03:03
happy nhu years
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Happy Lunar New Year</title>
<style>
/* Page defaults */
html, body {
margin: 0;
padding: 0;
@Bryce-Soghigian
Bryce-Soghigian / crossplay.yaml
Last active December 26, 2024 11:09
crossplay.yaml
###############################################################################
# 1. Minecraft Java Server Deployment
###############################################################################
apiVersion: apps/v1
kind: Deployment
metadata:
name: minecraft-java
labels:
app: minecraft-java
spec:
package utilization
import (
"context"
"fmt"
"log"
"time"
appsv1 "k8s.io/api/apps/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@Bryce-Soghigian
Bryce-Soghigian / diagram2.mermaid
Created September 30, 2024 21:43
ClusterIP discovery and allocation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Bryce-Soghigian
Bryce-Soghigian / split.md
Last active September 27, 2024 15:55
New Split I developed with anuj

Pull Day Workout Plan

1. Warm-Up (5-10 minutes)

  • Basketball or Boxing

2. Compound Movements

  1. Deadlifts: 4 sets of 6-8 reps (Focus on maintaining a neutral spine and engaging your core)
  2. Lat Pulldowns: 3 sets of 10-12 reps (Control the movement, especially on the way up to fully engage the lats)
# This example NodePool will provision general purpose instances
---
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
name: azlinux
annotations:
kubernetes.io/description: "General purpose NodePool for generic workloads"
spec:
disruption: