-
along with the fact that the tag includes the host name
docker run -it localhost:5000/my-ubuntu
works
Currently working on this DONE
- netextender connection attempt
netExtender -u user -p password -d 'domain' --always-trust host
cat /tmp/diditwork
java --version
cat /tmp/diditwork
nodejs
npm
ls
ps
ps -ef
ps -ef | grep apt
cat /tmp/diditwork
sudo apt-get install openjdk-11-jdk -y && echo "java11" >> /tmp/diditwork
sudo add-apt-repository ppa:openjdk-r/ppa
sudo add-apt-repository ppa:openjdk-r/ppa -y
sudo apt-get install openjdk-11-jdk -y && echo "java11" >> /tmp/diditwork
sudo apt update
java -version
sudo apt-get upgrade
sudo apt-get install openjdk-11-jdk
sudo apt-get install openjdk-11-jdk -y
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install openjdk-17-jdk
sudo apt-get install openjdk-17-jre -y
history
https://minikube.sigs.k8s.io/docs/start/
Install and Set Up kubectl on Linux
For a local docker repository which is necessary for local kubernetes and skaffold setup.
- Install Azure CLI
az cloud set --name AzureUSGovernment
sets the cloud environmentaz login
initiates a login process.- Terraform extension
[This is the Microsoft Azure Government Console Login Link](https://portal.azure.us/ #home) Skaffold older versions
- Terraform backend is local! (for now)
- the provider is a compiled GO file The .terraform.lock.hcl assures this will run. Commit this to your repository
- Terraform init only cares about provider stuff
- not sufficient for testing your code
- Resource Group
- Read the notes
- terraform plan
- State should be stored remotely
- A better way to see state
terraform state list
- Security Group Rule is created in this area
- Associates security group to subnet
- Will not have an IP until other resources, I.e. a virtual machine, are provisioned.
- Have to add public IP address ID. Not in the documentation example.
- ssh-keygen to create a key pair
- Used by the Linux vm
- I actually logged in!!!*
- Run the commands in a shell first to make sure they are correct
- Docker is there after
terraform apply
- files were added in this section
- Lightweight and does not affect overall deployment
- Last resort
- Provisioners don't get picked up by state
- So just replace it
- Didn't get this to work because windows stinks:
terraform state list
terraform apply -replace <RESOURCE_FROM_ABOVE>
- Uses the AZ or AWS API
- Not in the terraform state
-
[Windows script tpl file()https://youtu.be/V53AHWun17s?t=3889]
ssh-keygen -t rsa
URL: https://portal.azure.us/#home [email protected]
az cloud set --name AzureUSGovernment
sets the cloud environment.
Yielded this:
[
{cd
"cloudName": "AzureUSGovernment",
"homeTenantId": "3ffbc5ec-b740-451c-ab2d-36a9f55bfa3c",
"id": "ea7bd72c-c0b0-4a15-9ceb-4474dbd32bd7",
"isDefault": true,
"managedByTenants": [],
"name": "Azure Government Enterprise - RIMFIRE",
"state": "Enabled",
"tenantId": "3ffbc5ec-b740-451c-ab2d-36a9f55bfa3c",
"user": {
"name": "[email protected]",
"type": "user"
}
}
]
To change java version: sudo update-alternatives --config java