Tech

Knative Custom Domain + AutoTLS

August 16, 2022
Software
Tech, Knative

Steps # Set domain name in config-domain configmap in knative-serving namespace. Get LB IP of Envoy k get svc -A. Pick the external IP address Configure DNS provider with A record *.<domain> (eg. *.snative.dev) -> IP address Deploy hello world and curl the url (Note: Browsers use https which isn’t configured yet.) TLS using LetsEncrypt (Builds on steps above) # Install cert-manager kubectl apply -f https://github. ...

RabbitMQ

March 27, 2022
Software
Tech, RabbitMQ

RabbitMQ # A message broker; accepts and forwards messages Supports multiple protocols, of which AMQP 0-9-1 is one Queue # Is a buffer that stores messages A mailbox where producer(s) can send messages and consumer(s) can consume them from Creating a queue is idempotent. A message to a non-existent queue is simply dropped by RabbitMQ With configuration, unacknowledged messages by consumers will be redelivered (upone the initial consumer connection closing) ...

Knative

October 26, 2021
Software
Tech, Kubernetes, Knative

Knative # Serving # Label networking.knative.dev/visibility: cluster-local marks a Knative Service as private and accesible only via ClusterIP. The default is to make the Knative Service publically accessible. Job https://github.com/knative/serving/releases/download/latest/serving-default-domain.yaml updates -n knative-serving cm/config-domain to add a default domain such as 34.145.71.17.sslip.io

K8s Debugging

September 12, 2021
Software
Tech, Kubernetes

Get an ubuntu shell on a K8s cluster # Run kubectl run my-temp-shell --rm -i --tty --image ubuntu -- bash Ref Networking troubleshooting on a K8s cluster # Run kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot Ref Decode K8s Docker Registry Secret # Run k get secret/MY_SECRET_NAME -ojsonpath='{.data.\.dockerconfigjson}' | base64 -D

Measuring Health

September 12, 2021
Software
Tech

Service Level Agreement - SLA # commitment to maintain an SLI within a specific range over a period of time (including future) Service Level Objective - SLO # average of the SLI over time (past only) average of the SLI’s standard deviation over time Service Level Indicator - SLI # is the thing you’re measuring ?? a value at point in time

Pivotal Engineering Process WIP

September 12, 2021
Software
Tech

What is the process # Comparing it to Agile # working in a sprint (prioritized work + limited timed frame) Comparing it to Kanban # is about limiting multitasking ?? milestones don’t have a deadline Engineers work on it until its done PMs can’t change prioritzation once work for a milestone begins Issues # Doesn’t map to the industry, making job/role transition trickier

RPi with K3S with Knative

August 27, 2021
Software
Tech, Kubernetes, K3S, Raspberry Pi, Knative

The process # Use Ubuntu Server 64 bit OS # The Rasberry Pi OS is 32 bit and wont work for Envoy which only has arm64 images available. Install OS # Download the Ubuntu OS, extract the zip file Install it to the SD Card Instructions diskutil list # Get disk# diskutil unmountDisk /dev/diskN sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskN; sync sudo diskutil eject /dev/rdiskN replacing N with the disk number ...

Create a K8s CRD

February 4, 2021
Software
Tech, Storage

Create a K8s CRD # This summarizes the tutorial referenced below & Knative Controllers as a quick review Scafold the new CRD # kubebuilder create api --group batch --version v1 --kind CronJob Define The Object # Look under {apis|api/v1}/{groupName}/{objectName}_types.go contains K8s Object.Spec and Object.Status Update the Spec & Status sections Add the Business Logic # Implement the logic to convert desired state defined in the spec to the actual state reflected in the status. ...

Inclusive Leadership

December 15, 2020
Software
Tech, Inclusion

These are my notes from session on Inclusive Leadership at VMware Diversity # visible traits and invisible traits/dimensions of our identity (eg. religion) URMs # minorities - black, latam, american indians, native alaskans, pacific islanders /hawaiaans URGs # groups Equity # distribution of resources to address systemic barriers and support equal outcomes vs. equality is everyone gets the same thing (eg. notebook + pen vs laptops for devs, etc) equal is not equitable (meat to a room that includes vegetarians) Inclusion # Cognizance bias is a achillles heel Humility - i am biased but want to improve Empathy - prespective taking Courage talking about imperfections takes risk taking Commitment staying the course is hard Curiosity Cultural Intelligence Collaboration In Groups # set the rules/norms in a culture often unaware of their privilege Out Groups # work hard to fit in less power Pschological Safety # Amy Edmonson Sense of confidence that the team will not embarass, reject or punish someone for speaking up Shared beleif that the team is safe for interpersonal risk taking Notice when you’re contributing to in-group/out-group behaviours Create Pysch safety # encourage conversational turn-taking be empathetic and socially sensitve Micro aggressions # they are suble discrimination that reflects painful stereotypes, practices, policies and world views analogy of mosquito bites 1 bite is annoying constant biting over a long period of time is debilitating admit they exist ask difficult questions show peers that it is unacceptable - call them out microaffirmations can counter microaggessions recognize that microagressions reflect painful, deeply embedded stereotypes, practices, policies, and worldviews if bias is “what”; microaggressions are the “how” Covering # hiding a unfavored trait/identity to fit in appearance based affiliation based emotional tax - the state of being on guard intersectionality # no one is defined by a single category Privilege # system advantage or privileged isnt so much about what you have, but what you dont have to think about

LeadDev Diversity & Inclusion

November 12, 2020
Software
Tech, Inclusion, Diversity

These are my notes from a session on Diversity & Inclusion at LeadDev What matters !! # Impact matters much more than intention essentially not having ill intension is not sufficient one has to be accountable for the impact of one’s actions this is more significant in situations when one party has a position of privilege or authority In such cases Acknowledge the mistake Make a committment to change Be accountable Simple definitions # Privilege = Access Underrepresented = It is a matter of #s Marginalized = Treatment Inclusion ! ...