This file contains hidden or 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: tekton.dev/v1alpha1 | |
kind: PipelineResource | |
metadata: | |
name: randomquotes-git | |
spec: | |
type: git | |
params: | |
- name: revision | |
value: master | |
- name: url |
This file contains hidden or 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: tekton.dev/v1alpha1 | |
kind: TaskRun | |
metadata: | |
name: echo-hello-world-task-run | |
spec: | |
taskRef: | |
name: echo-hello-world |
This file contains hidden or 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: tekton.dev/v1alpha1 | |
kind: Task | |
metadata: | |
name: echo-hello-world | |
spec: | |
steps: | |
- name: echo | |
image: ubuntu | |
command: | |
- echo |
This file contains hidden or 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
-- Logs begin at Thu 2020-02-27 04:40:40 UTC, end at Thu 2020-02-27 23:15:42 UTC. -- | |
Feb 27 04:53:35 ubuntu-18 systemd[1]: Starting Docker Application Container Engine... | |
Feb 27 04:53:35 ubuntu-18 dockerd[64044]: time="2020-02-27T04:53:35.376800033Z" level=info msg="systemd-resolved is running, so using resolvconf: /run/systemd/resolve/resolv.conf" | |
Feb 27 04:53:35 ubuntu-18 dockerd[64044]: time="2020-02-27T04:53:35.416409976Z" level=info msg="parsed scheme: \"unix\"" module=grpc | |
Feb 27 04:53:35 ubuntu-18 dockerd[64044]: time="2020-02-27T04:53:35.416503277Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc | |
Feb 27 04:53:35 ubuntu-18 dockerd[64044]: time="2020-02-27T04:53:35.416634078Z" level=info msg="parsed scheme: \"unix\"" module=grpc | |
Feb 27 04:53:35 ubuntu-18 dockerd[64044]: time="2020-02-27T04:53:35.416647678Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc | |
Feb 27 04:53:35 ubuntu-18 dockerd[64044]: time="2020-02-27T04:53:35.417 |
This file contains hidden or 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
$groups = aws ec2 describe-security-groups --max-items 1000 | ConvertFrom-Json | Select -ExpandProperty SecurityGroups | Sort-Object -Property GroupName | |
$groups | % {Write-Host "$($_.GroupName) [$($_.GroupId)]: $($_.Description)"} | |
$sg = Read-Host -Prompt 'Input the security group ID' | |
$ip = Read-Host -Prompt 'Input the ip address' | |
$prompt = Read-Host -Prompt "Expose port 3389 to IP address $ip on Security group $sg" | |
if ($prompt -ieq "y") { | |
aws ec2 authorize-security-group-ingress ` | |
--group-id $sg ` |
This file contains hidden or 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
virtmgmt.msc |
This file contains hidden or 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
An error occurred while attempting to connect to server "xxxx". Check that the virtual machine management service is running and that you are authorized to connect to the server. |
This file contains hidden or 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
C:\ProgramData\Amazon\EC2-Windows\Launch\Log\ | |
C:\ProgramData\Amazon\EC2-Windows\Launch\Log\UserdataExecution.log | |
get-content C:\ProgramData\Amazon\EC2-Windows\Launch\Log\UserdataExecution.log -wait | |
get-content -wait C:\vagrant.out |
This file contains hidden or 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
See https://github.com/kubernetes/minikube/issues/4835 | |
kubeadm reset | |
sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube* | |
sudo apt-get autoremove | |
sudo rm -rf ~/.kube | |
sudo rm -rf ~/.minikube | |
sudo rm -rf /var/lib/minikube | |
sudo rm -rf /var/lib/kubelet | |
sudo rm -rf /var/lib/localkube |
This file contains hidden or 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
# Launch with: | |
# vagrant up --provider hyperv | |
Vagrant.configure("2") do |config| | |
config.vm.box = "hashicorp/bionic64" | |
config.vm.box_version = "1.0.282" | |
# Use the default switch to get access to the internet | |
config.vm.network 'public_network', bridge: 'Default Switch' | |
# Disabled the shared folder - https://github.com/hashicorp/vagrant/issues/1004 | |
config.vm.synced_folder '.', '/vagrant', disabled: true |