- Senior Software Engineer - Azure Kubernetes Service
- Principal Software Engineer - Azure Kubernetes Service
- Senior Software Engineer
- Principal Software Engineer
- Software Engineer II - Azure Kubernetes; Networking
- Software Engineer II - Azure Kubernetes Service
- [Software Engineer II - Azure Kubernetes Service](https://careers.microsoft.com/us/en/job/1129318/Software%20Engi
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
# Upgrade to node image 202310.19.2 or later |
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
#!/bin/bash | |
# optional argument handling | |
if [[ "$1" == "version" ]] | |
then | |
echo "1.0.0" | |
exit 0 | |
fi | |
if [ -z "$1" ]; then |
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: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
component: osdisk-optimizer | |
name: osdisk-optimizer | |
namespace: kube-system | |
spec: | |
selector: | |
matchLabels: |
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
#!/bin/bash | |
echo "running in $(pwd)" > /tmp/script_output |
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
#!/usr/bin/env bpftrace | |
/* | |
* ext4slower Summarize ext4 operation latency. | |
* For Linux, uses bpftrace and eBPF. | |
* | |
* This traces four common file system calls: read, write, open, and fsync. | |
* It can be customized to trace more if desired. | |
* | |
* USAGE: ext4dist.bt [min_us] | |
* |
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
export EVENTHUB_RESOURCE_GROUP=my-eventrouter | |
export EVENTHUB_NAMESPACE=my-eventrouter-ns | |
export EVENTHUB_NAME=my-eventrouter | |
export EVENTHUB_REGION=westus2 | |
export EVENTHUB_RULE_NAME=eventrouter-send | |
az group create -g ${EVENTHUB_RESOURCE_GROUP} -l ${EVENTHUB_REGION} | |
az eventhubs namespace create -g ${EVENTHUB_RESOURCE_GROUP} -n ${EVENTHUB_NAMESPACE} -l ${EVENTHUB_REGION} | |
az eventhubs eventhub create -g ${EVENTHUB_RESOURCE_GROUP} --namespace-name ${EVENTHUB_NAMESPACE} -n ${EVENTHUB_NAME} | |
az eventhubs eventhub authorization-rule create -g ${EVENTHUB_RESOURCE_GROUP} --namespace-name ${EVENTHUB_NAMESPACE} --eventhub-name ${EVENTHUB_NAME} -n ${EVENTHUB_RULE_NAME} --rights Send |
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
# Copyright 2017 Heptio Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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: v1 | |
kind: ServiceAccount | |
metadata: | |
name: node-problem-detector | |
namespace: kube-system | |
labels: | |
kubernetes.io/cluster-service: "true" | |
addonmanager.kubernetes.io/mode: Reconcile | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 |
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
[Unit] | |
Description=Kubernetes health monitoring for container runtime | |
After=kube-master-configuration.service | |
[Service] | |
Restart=always | |
RestartSec=10 | |
RemainAfterExit=yes | |
RemainAfterExit=yes | |
ExecStartPre=/bin/chmod 544 /usr/local/bin/health-monitor.sh | |
ExecStart=/usr/local/bin/health-monitor.sh container-runtime |
NewerOlder