-
Fork the project
-
Clone the downstream repo locally (git clone https://github.com//some-awesome-project
-
Create a new branch (git checkout -b my_branch)
-
Create a new remote for the upstream repo (git remote add upstream https://github.com/original-repo/awesome-project)
-
Push your stuff to the upstream repo (git push -u origin my_branch)
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
<configuration> | |
<appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender"> | |
<target>System.err</target> | |
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | |
<level>WARN</level> | |
</filter> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | |
</encoder> | |
</appender> |
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
//List pods in a node | |
kubectl get pods --all-namespaces --field-selector spec.nodeName=<NODE> -o wide | |
//Delete evicted pods | |
kubectl delete pods --all-namespaces --field-selector=status.phase=Failed |
"How do you debug applications running in Kubernetes?"
The strategy to successfully debugging applications in kubernetes is to be consistent with your approach: application to public traffic or public traffic to application.
The question as it is it's very generic, however, let's see the different components we might have to check in our debugging journey:
- Container/Pod
- Service