- stuff
- stuff
- add
alias kubectl="microk8s kubectl"
to~/.bashrc
ssh ubuntu@cluster
ubuntu
helm upgrade flyte-binary flyteorg/flyte-binary --values flyte-on-pi/binary/local-values.yaml --install --create-namespace -n flyte
microk8s status
microk8s enable <addon>
microk8s dashboard-proxy
KEY_FILE=flyte.key
CERT_FILE=flyte.crt
CERT_NAME=flyte
HOST=flyte.local
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ${KEY_FILE} -out ${CERT_FILE} -subj "/CN=${HOST}/O=${HOST}" -addext "subjectAltName = DNS:${HOST}"
kubectl create secret tls home --key ${KEY_FILE} --cert ${CERT_FILE} -n flyte
ingress:
create: true
host: flyte.local
ingressClassName: public
separateGrpcIngress: true
tls:
- hosts:
- flyte.local
secretName: home
commonAnnotations:
kubernetes.io/ingress.class: public
httpAnnotations:
nginx.ingress.kubernetes.io/app-root: /console
grpcAnnotations:
nginx.ingress.kubernetes.io/backend-protocol: GRPC
kubectl -n flyte port-forward service/flyte-binary-http 8088:8088
kubectl -n flyte port-forward service/flyte-binary-grpc 8089:8089
- add
192.168.178.68 flyte.local
to /etc/hosts (or configure some local DNS) - configure
~./flyte/config.yaml
admin:
endpoint: dns:///flyte.local
authType: Pkce
insecure: false
insecureSkipVerify: false
caCertFilePath: /Users/janfiedler/Documents/flyte/flyte-on-pi/flyte.local.cer
kubectl port-forward -n observability service/kube-prom-stack-grafana 3000:80 --address 0.0.0.0
- logs grafana?
- core dns entry?
little-guy:53 {
errors
hosts {
192.168.178.7 little-guy
}
}
adding something in here