#!/bin/sh
set -e
# Return current date and time with passed log message
log() {
echo "$(date '+%Y-%m-%d %H:%M:%S'): $1" | tee -a log
}
PS C:\temp\AKS-Edge-main\tools> New-AksEdgeDeployment -JsonConfigFilePath .\mydeployconfig-WiFi.json
[12/24/2022 14:50:59] Validating AksEdge network parameters...
- * Name:AKSEdgeSwitch - Type:External
- * Name:Wi-Fi is Up
[12/24/2022 14:51:07] Network parameter validation terminated successfully
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
| join kind=leftouter ( | |
resources | |
| where type == "microsoft.containerservice/managedclusters" | |
| extend aksname = tostring(name) | |
| join kind=leftouter ( | |
resources | |
| where type == 'microsoft.compute/virtualmachinescalesets' | |
| extend resourceGroup=tolower(tostring(resourceGroup)) | |
| join kind=leftouter ( | |
resources |
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
{ | |
"properties": { | |
"displayName": "Check Storage Account diagnostics", | |
"policyType": "Custom", | |
"mode": "All", | |
"metadata": { | |
"category": "Monitoring", | |
"createdBy": "c9827269-33fe-47ac-ab33-70524aeaa523", | |
"createdOn": "2021-08-24T09:50:34.9090586Z", | |
"updatedBy": "c9827269-33fe-47ac-ab33-70524aeaa523", |
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/sh | |
echo 1 > /proc/sys/net/ipv4/ip_forward | |
ip netns add ns1 | |
ip netns add ns2 | |
ip netns exec ns1 ip link set lo up | |
ip netns exec ns2 ip link set lo up | |
ip link add br0 type bridge |
http://woshub.com/how-to-upgrade-windows-server-2016-evaluation-to-full-version/
dism /online /set-edition:ServerDatacenter /productkey:<Licence> /accepteula
- 設計
- 構築
- 運用
- Infra Study Meetup #3 - SRE と組織 https://speakerdeck.com/masayoshi/sre-culture-organization?slide=47
- SRE Next 2020 https://sre-next.dev/schedule#b7
app.UseEndpoints(endpoints =>
{
endpoints.MapGet("/", async context =>
{
var greeting = Environment.GetEnvironmentVariable("Greeting");
if(String.IsNullOrEmpty(greeting))
greeting = "Hello World!";
await context.Response.WriteAsync(greeting + " Tsubasa");
});
NewerOlder