Skip to content

Instantly share code, notes, and snippets.

View angusfz's full-sized avatar
🎯
Focusing

AngusLee angusfz

🎯
Focusing
View GitHub Profile
crc setup log
```
$ crc delete -f; crc cleanup; crc setup ;
WARN open /home/vagrant/.kube/config: no such file or directory
Deleted the OpenShift cluster
INFO Removing vsock configuration
INFO Removing 'crc' network from libvirt
INFO Removing /etc/NetworkManager/dnsmasq.d/crc.conf file
INFO Using root access: Removing NetworkManager configuration file in /etc/NetworkManager/dnsmasq.d/crc.conf
INFO Using root access: Executing systemctl daemon-reload command
@angusfz
angusfz / Makefile for setting ecs capacity provider
Last active March 5, 2020 06:37
Set ECS capacity provider
put-cluster-capacity-provider:
@echo "Add cluster capacity provier"
@aws ecs put-cluster-capacity-providers \
--cluster ${ECS_CLUSTER} \
--capacity-providers FARGATE FARGATE_SPOT \
--default-capacity-provider-strategy capacityProvider=FARGATE,weight=0 capacityProvider=FARGATE_SPOT,weight=1 | jq
force-new-deployment:
@echo "Perform force new deployment"
@aws ecs update-service \