Instance | Branch |
---|
This file contains 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
public class JsonIntoRow implements FlatMapFunction<JsonNode, Row> { | |
private TypeInformation<Row> typeInfo; | |
private static JsonRowDeserializationSchema deserializationSchema; | |
public JsonIntoRow(TypeInformation<Row> typeInfo){ | |
this.typeInfo = typeInfo; | |
} | |
@Override | |
public void flatMap(JsonNode value, Collector<Row> out) throws Exception { |
This file contains 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
{__name__=~".+",app="cp-ksql-server"} |
This file contains 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
statusCategory = Done and reporter = currentUser() order by updated DESC |
This file contains 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
'%(asctime)s %(levelname)s %(filename)s %(funcName)20s: %(message)s' |
This file contains 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
https://learnk8s.io/a/troubleshooting-kubernetes.pdf |
This file contains 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
## Incremental build time | |
#### Order your steps from least to most frequently changing steps to optimize caching | |
#### When copying files into your image, make sure you are very specific about what you want to copy. Any changes to the files being copied will break the cache | |
#### You always want to update the index and install packages in the same RUN: they form together one cacheable unit. Otherwise you risk installing outdated packages. | |
## Reduce image size | |
#### Apt has the –no-install-recommends flag which ensures that dependencies that were not actually needed are not installed |
This file contains 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
kubectl -n istio-system port-forward \ | |
$(kubectl -n istio-system get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001 |