Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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: ConfigMap | |
metadata: | |
name: otel-collector-conf | |
namespace: azure-arc-data | |
labels: | |
app: opentelemetry | |
component: otel-collector-conf | |
data: | |
otel-collector-config: | |
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: ConfigMap | |
metadata: | |
name: otel-collector-conf | |
namespace: azure-arc-data | |
labels: | |
app: opentelemetry | |
component: otel-collector-conf | |
data: | |
otel-collector-config: | |
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
# = = = = = = = = = = = = = = = = = = = = | |
# Verbosity wrapper | |
# = = = = = = = = = = = = = = = = = = = = | |
# On | |
export VERBOSE=1 | |
# Off | |
unset VERBOSE | |
# = = = = = = = = = = = = = = = = = = = = | |
# # |
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 | |
data: | |
password: YWNudG9yUFJFU1RPIQ== | |
username: Ym9vcg== | |
kind: Secret | |
metadata: | |
name: sql-bc-1-login-secret | |
namespace: arc-primary | |
type: Opaque | |
--- |
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
# Here is a sample set of roles we'd want our SA/User account to have, this can be anything and the kubeconfig will inherit it | |
kubectl apply -f https://gist.githubusercontent.com/mdrakiburrahman/d94613872601c397f3a052492f168827/raw/a7909c131beb02f45970f2b605178859c6882555/tina-onboarder-rbac.yaml | |
# = = = = = = = = = | |
# Create a kubeconfig from this that overwrites our Cluster Admin that we get when we install a new K8s cluster | |
# = = = = = = = = = | |
# Service Account is in default but because of ClusterRoleBinding it has Cluster scope | |
namespace=default | |
serviceAccount=arc-data-deployer |
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
{ | |
"resourceLogs": [ | |
{ | |
"resource": {}, | |
"scopeLogs": [ | |
{ | |
"scope": {}, | |
"logRecords": [ | |
{ | |
"timeUnixNano": "1652102891470000028", |
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
CREATE DATABASE Ldw | |
COLLATE Latin1_General_100_BIN2_UTF8; | |
USE Ldw; | |
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'MyRand0mPa33W0rd1!'; | |
CREATE DATABASE SCOPED CREDENTIAL WorkspaceIdentity | |
WITH IDENTITY = 'Managed Identity'; | |
GO |
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
# Login Into Azure Using Service Principal | |
az_cli_cmd login --service-principal -u az_client_id -p az_client_secret --tenant az_tenant_id | |
# Set Azure Subscription | |
az_cli_cmd account set --subscription az_subscription_id | |
# Create AZ Resource Group: Arc K8s | |
az_cli_cmd group create -l az_location -n az_resource_group | |
# OCP Login |