Deploy k8s cluster v1.21.7 or lower, but not lower than v1.20.
$ git clone -b master https://github.com/kubeflow/manifests
# Open the image file and encode it as a base64 string | |
def encode_image(image_path): | |
with open(image_path, "rb") as image_file: | |
return base64.b64encode(image_file.read()).decode("utf-8") | |
base64_image = encode_image(IMAGE_PATH) |
using System; | |
using System.Configuration; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Web.Cors; | |
using System.Web.Http; | |
using System.Web.Http.Cors; | |
using System.IO; | |
using Microsoft.Azure.Storage; | |
using Microsoft.Azure.Storage.Blob; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>App Login</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
curl -s https://api.github.com/repos/cert-manager/cert-manager/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' |
Deploy k8s cluster v1.21.7 or lower, but not lower than v1.20.
$ git clone -b master https://github.com/kubeflow/manifests
Containers in a pod share namespaces among them.
Container-to-Container comms via localhost (because they share the same kernel namespace)
The 'pause' container (AKA infra container) is a container which holds the network namespace for the pod. Kubernetes creates pause containers to acquire the respective pod’s IP address and set up the network namespace for all other containers that join that pod. It has one job: DON'T DIE.
using System; | |
using System.Data.SqlClient; | |
using System.Threading.Tasks; | |
using Azure.Identity; | |
using Azure.Core; | |
namespace NET47ManagedIdentitytoAzureSQL | |
{ | |
class MainClass | |
{ |
#!/usr/bin/env python3 | |
import PySimpleGUI as sg | |
def read_temp1(): | |
return 24.0 | |
def read_temp2(): | |
return 21.1 |
PowerShell> Update-AzStorageBlobServiceProperty -DefaultServiceVersion 2017-07-29 -resourcegroupname bonsai-rg-bonsai-025b200c-f80c-46df-98e5-01e49c78aed6 -StorageAccountName bonsai26 -Debug
HTTP Method:
PUT
Absolute Uri:
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/bonsai-rg-bonsai-025b200c-f80c-46df-98e5-01e49c78aed6/providers/Microsoft.Storage/storageAccounts/bonsai26/blobServices/default?api-version=2021-04-01
https://forms.office.com/formapi/api/forms/v4j5cvGF_ORMS_ID_MUDBWQS4u/responses |