Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
| define("ID_UNIDADE", "999"); //id da unidade onde o processo está | |
| define("ID_SERIE", "50070"); //Tipo do documento que irá ser incluído, deve ser um tipo externo | |
| define("SISTEMA, "meuSistemaNoSei'");//Nome do Sistema no menu Adminsitração/ Sistema | |
| define("SERVICO", "servicoDoMeuSistema"); //Nome do Serviço dentro do Sistema | |
| function inclui_evidencia_sei($cpf,$nome,$protocolo,$nome_arquivo,$arquivo){ | |
| $DocumentoRecebido = array(); | |
| $DocumentoRecebido['Tipo'] = 'R'; | |
| $DocumentoRecebido['Destinatarios'] = null; | |
| $DocumentoRecebido['Interessados'] = array(array('Sigla' => $cpf, 'Nome' => $nome)); | |
| $DocumentoRecebido['Data'] = "" . date("d/m/Y"); |
| #!/usr/bin/env bash | |
| # Clear out all previous attempts | |
| rm -rf "/tmp/source-git/" | |
| # Get the dependencies for git, then get openssl | |
| sudo apt-get install build-essential fakeroot dpkg-dev -y | |
| sudo apt-get build-dep git -y | |
| sudo apt-get install libcurl4-openssl-dev -y | |
| mkdir -p "/tmp/source-git/" |
| import groovy.sql.Sql | |
| import java.util.Date | |
| import java.text.SimpleDateFormat | |
| /* | |
| * THIS IS AN EXAMPLE SNIPPET. FOR MORE DETAILS SEE THE FOLLOWING BLOG ARTICLE: | |
| * https://blog.codecentric.de/en/?p=30502 | |
| * | |
| * This Jenkins Job DSL Groovy Script creates Continuous Integration (CI) Jobs | |
| * for all Maven & Ant projects that exist on a GitLab Server. |
| mavenJob("${name}") { | |
| goals('clean install findbugs:findbugs pmd:pmd cobertura:cobertura') | |
| logRotator { | |
| numToKeep(5) | |
| artifactNumToKeep(1) | |
| } | |
| scm { | |
| git { |
| Xcursor.theme: Vanilla-DMZ-AA | |
| !urxvt color scheme: | |
| URxvt*background: #2B2B2B | |
| URxvt*foreground: #DEDEDE | |
| !URxvt*colorUL: #86a2b0 | |
| ! black |