Test Pod
Create a yaml file to define our pod:
$ vi ubuntu.yaml
apiVersion: v1 kind: Service metadata: name: ubuntu labels: app: ubuntu spec: type: NodePort ports: - port: 22 targetPort: 22 nodePort: 30022 selector: app: ubuntu --- apiVersion: apps/v1 kind: Deployment metadata: name: ubuntu labels: app: ubuntu spec: replicas: 1 selector: matchLabels: app: ubuntu template: metadata: labels: app: ubuntu spec: containers: - name: ubuntu image: rastasheep/ubuntu-sshd:18.04
Deploy it
$ kubectl apply -f ubuntu.yaml
Delete it
kubectl delete -f ubuntu.yaml
References
Reference | URL |
---|---|
Fluent bit | https://docs.fluentbit.io/manual/ |
Fluentbit Kubernetes Logging | https://docs.fluentbit.io/manual/installation/kubernetes |
Azure Log Analytics | https://docs.fluentbit.io/manual/pipeline/outputs/azure |
Azure Monitor overview | https://docs.microsoft.com/en-us/azure/azure-monitor/overview |