<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>코드 잡동사니</title>
    <link>https://devnot.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Mon, 15 Jun 2026 06:45:55 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>세객</managingEditor>
    <item>
      <title>ubuntu adoptopenjdk 설치</title>
      <link>https://devnot.tistory.com/150</link>
      <description>&lt;pre class=&quot;angelscript&quot;&gt;&lt;code&gt;wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
sudo apt update
sudo apt install adoptopenjdk-8-hotspot  # Java 8 / HotSpot VM
sudo apt install adoptopenjdk-8-openj9   # Java 8 / OpenJ9 VM
sudo apt install adoptopenjdk-11-hotspot # Java 11 / HotSpot VM
sudo apt install adoptopenjdk-11-openj9  # Java 11 / OpenJ9 VM
sudo apt install adoptopenjdk-12-hotspot # Java 12 / HotSpot VM
sudo apt install adoptopenjdk-12-openj9  # Java 12 / OpenJ9 VM
sudo apt install adoptopenjdk-13-hotspot # Java 13 / HotSpot VM
sudo apt install adoptopenjdk-13-openj9  # Java 13 / OpenJ9 VM&lt;/code&gt;&lt;/pre&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://askubuntu.com/questions/1157417/install-adoptopenjdk-onto-ubuntu-18-04-lts&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;https://askubuntu.com/questions/1157417/install-adoptopenjdk-onto-ubuntu-18-04-lts&lt;/a&gt;&lt;/p&gt;</description>
      <category>서버셋팅</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/150</guid>
      <comments>https://devnot.tistory.com/150#entry150comment</comments>
      <pubDate>Sat, 18 Sep 2021 19:42:30 +0900</pubDate>
    </item>
    <item>
      <title>fish shell 에서 nvm 사용하기</title>
      <link>https://devnot.tistory.com/149</link>
      <description>&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;fish shell 을 사용하는데 nvm 사용하는 방법입니다.&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;elixir&quot;&gt;&lt;code&gt;# fisher 설치
curl -sL https://git.io/fisher | source &amp;amp;&amp;amp; fisher install jorgebucaran/fisher

# edc/bass 설치
fisher install edc/bass

# 함수 추가
vim ~/.config/fish/functions/nvm.fish

function nvm
    bass source ~/.nvm/nvm.sh --no-use ';' nvm $argv
end

# 실행
nvm ls&lt;/code&gt;&lt;/pre&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;출처 &lt;a href=&quot;https://eshlox.net/2019/01/27/how-to-use-nvm-with-fish-shell&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;https://eshlox.net/2019/01/27/how-to-use-nvm-with-fish-shell&lt;/a&gt;&lt;/p&gt;</description>
      <category>노드js</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/149</guid>
      <comments>https://devnot.tistory.com/149#entry149comment</comments>
      <pubDate>Mon, 16 Aug 2021 21:28:38 +0900</pubDate>
    </item>
    <item>
      <title>rabbitmq 설치 및 클러스터 구성</title>
      <link>https://devnot.tistory.com/147</link>
      <description>&lt;h1&gt;rabbitmq&lt;/h1&gt;
&lt;h2&gt;설치&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;erlang 을 설치해야 한다. 설치할 수 있는 방법은 2가지이다.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;pre&gt;&lt;code&gt;yum install epel-release
yum install erlang&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;pre&gt;&lt;code&gt;wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
yum install erlang&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;다운로드&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.rabbitmq.com/install-generic-unix.html&quot;&gt;링크&lt;/a&gt; 여기서 다운받고 scp 로 전달하던가 filezila 로 옮기던가...&lt;/li&gt;
&lt;li&gt;&lt;code&gt;xz -d [다운 받은 파일]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;tar -xvf [압축 푼 파일]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;실행&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmq-server --detached&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;클러스터&lt;/h2&gt;
&lt;h3&gt;.erlang.cookie&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;경로는 &lt;code&gt;/root/.erlang.cookie&lt;/code&gt; 에 등록되어 있다.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Optional&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;괸리 웹 페이지 실행&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmq-plugins enable rabbitmq_management&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;로그인 하려면 계정을 추가해줘야 한다.&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmqctl add_user admin admin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmqctl set_user_tags admin administrator&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmqctl set_permissions -p / admin &amp;quot;.*&amp;quot; &amp;quot;.*&amp;quot; &amp;quot;.*&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;전체 계정 확인&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmqctl list_users&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;권한 리스트&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmqctl list_permissions&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;현재 RabbitMQ 상태&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[압축 푼 경로]/sbin/rabbitmqctl status&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
      <category>서버셋팅</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/147</guid>
      <comments>https://devnot.tistory.com/147#entry147comment</comments>
      <pubDate>Sun, 15 Mar 2020 21:41:05 +0900</pubDate>
    </item>
    <item>
      <title>Spring boot test gradle lombok 사용시 cannot find symbol 에러 처리</title>
      <link>https://devnot.tistory.com/144</link>
      <description>&lt;h1&gt;에러 처리 방법&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;프로젝트 경로에서 build.gradle 안에 &lt;pre&gt;&lt;code&gt;...
dependencies {
testAnnotationProcessor &amp;#39;org.projectlombok:lombok&amp;#39;
}
...&lt;/code&gt;&lt;/pre&gt;위 내용을 추가하면 된다.&lt;br&gt;굳굳구두굳굳ㄷ&lt;/li&gt;
&lt;/ul&gt;</description>
      <category>배포관리/Gradle</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/144</guid>
      <comments>https://devnot.tistory.com/144#entry144comment</comments>
      <pubDate>Sun, 12 Jan 2020 14:06:34 +0900</pubDate>
    </item>
    <item>
      <title>Axios default Config 내용</title>
      <link>https://devnot.tistory.com/143</link>
      <description>&lt;h1&gt;Axios default Config&lt;/h1&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;{
  &amp;quot;transformRequest&amp;quot;:[null],
  &amp;quot;transformResponse&amp;quot;:[null],
  &amp;quot;timeout&amp;quot;:0,
  &amp;quot;xsrfCookieName&amp;quot;:&amp;quot;XSRF-TOKEN&amp;quot;,
  &amp;quot;xsrfHeaderName&amp;quot;:&amp;quot;X-XSRF-TOKEN&amp;quot;,
  &amp;quot;maxContentLength&amp;quot;:-1,
  &amp;quot;headers&amp;quot;:{
    &amp;quot;common&amp;quot;:{
      &amp;quot;Accept&amp;quot;:&amp;quot;application/json, text/plain, */*&amp;quot;
    },
  &amp;quot;delete&amp;quot;:{},
  &amp;quot;get&amp;quot;:{},
  &amp;quot;head&amp;quot;:{},
  &amp;quot;post&amp;quot;:{
    &amp;quot;Content-Type&amp;quot;:&amp;quot;application/x-www-form-urlencoded&amp;quot;
  },
  &amp;quot;put&amp;quot;:{
    &amp;quot;Content-Type&amp;quot;:&amp;quot;application/x-www-form-urlencoded&amp;quot;
  },
  &amp;quot;patch&amp;quot;:{
    &amp;quot;Content-Type&amp;quot;:&amp;quot;application/x-www-form-urlencoded&amp;quot;}
  }
}&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Axios default 의 Config 내부 파일인데 json 으로 뽑다보니 transformRequest, transfromResponse 객체는 함수인데 null 로 표시되어있다. &lt;a href=&quot;https://github.com/axios/axios/blob/master/lib/defaults.js&quot;&gt;링크&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;default config 객체에 새로운 axios.create(A) 를 생성할 경우 default config 객체와 A config 객체를 merge 한다. &lt;/li&gt;
&lt;li&gt;merge 하면 사용자가 임의로 넣은 config 객체가 우선권으로 적용된다. &lt;/li&gt;
&lt;li&gt;http 요청을 사용할 때는 get(url, config) 처럼 오는데 뒤에 config 는 자신이 axios.create(A) 를 할때 사용한 A 객체보다 우선권이 낮다.&lt;/li&gt;
&lt;/ul&gt;</description>
      <category>노드js</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/143</guid>
      <comments>https://devnot.tistory.com/143#entry143comment</comments>
      <pubDate>Sun, 8 Dec 2019 20:29:01 +0900</pubDate>
    </item>
    <item>
      <title>git .gitignore 작성 후 적용 안될 때</title>
      <link>https://devnot.tistory.com/140</link>
      <description>&lt;p&gt;커밋을 먼저 하고 그 후에 .gitignore 를 작성했는데 무시가 안될 때&lt;/p&gt;
&lt;pre class=&quot;dockerfile&quot;&gt;&lt;code&gt;git rm -r --cached .
git add .&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>Git</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/140</guid>
      <comments>https://devnot.tistory.com/140#entry140comment</comments>
      <pubDate>Mon, 28 Oct 2019 17:22:28 +0900</pubDate>
    </item>
    <item>
      <title>Spring Junit 어노테이션</title>
      <link>https://devnot.tistory.com/139</link>
      <description>&lt;pre class=&quot;aspectj&quot;&gt;&lt;code&gt;@BeforeClass&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;- static 으로 메서드 작성, 1회만 실행됨&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;aspectj&quot;&gt;&lt;code&gt;@Before&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;- @Test 메서드가 실행될 때 마다 실행된다&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;aspectj&quot;&gt;&lt;code&gt;@BeforeEach&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;- @BeforeEach = @Before&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;aspectj&quot;&gt;&lt;code&gt;@BeforeAll&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;- @BeforeAll = @BeforeClass&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall&quot;&gt;https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1572229352651&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot; data-og-type=&quot;article&quot; data-og-title=&quot;@Before vs @BeforeClass vs @BeforeEach vs @BeforeAll | Baeldung&quot; data-og-description=&quot;Learn about the difference between JUnit annotations that can be used to run logic before tests.&quot; data-og-host=&quot;www.baeldung.com&quot; data-og-source-url=&quot;https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall&quot; data-og-url=&quot;https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall&quot; data-og-image=&quot;https://scrap.kakaocdn.net/dn/mHy28/hyDqefs82X/FFyokegqmdKQyyKHpvJAu1/img.jpg?width=952&amp;amp;height=498&amp;amp;face=0_0_952_498,https://scrap.kakaocdn.net/dn/q75iA/hyDqpabEFD/L326qoWeltpNvFtg1esfB0/img.jpg?width=952&amp;amp;height=498&amp;amp;face=0_0_952_498&quot;&gt;&lt;a href=&quot;https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-source-url=&quot;https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url('https://scrap.kakaocdn.net/dn/mHy28/hyDqefs82X/FFyokegqmdKQyyKHpvJAu1/img.jpg?width=952&amp;amp;height=498&amp;amp;face=0_0_952_498,https://scrap.kakaocdn.net/dn/q75iA/hyDqpabEFD/L326qoWeltpNvFtg1esfB0/img.jpg?width=952&amp;amp;height=498&amp;amp;face=0_0_952_498');&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot;&gt;@Before vs @BeforeClass vs @BeforeEach vs @BeforeAll | Baeldung&lt;/p&gt;
&lt;p class=&quot;og-desc&quot;&gt;Learn about the difference between JUnit annotations that can be used to run logic before tests.&lt;/p&gt;
&lt;p class=&quot;og-host&quot;&gt;www.baeldung.com&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>스프링</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/139</guid>
      <comments>https://devnot.tistory.com/139#entry139comment</comments>
      <pubDate>Mon, 28 Oct 2019 11:20:16 +0900</pubDate>
    </item>
    <item>
      <title>정규표현식 기호</title>
      <link>https://devnot.tistory.com/138</link>
      <description>&lt;p&gt;수량자&lt;/p&gt;
&lt;p&gt;? -&amp;gt; 1 || 0&lt;/p&gt;
&lt;p&gt;+ -&amp;gt; 1 &amp;lt;=&lt;/p&gt;
&lt;p&gt;*&amp;nbsp; -&amp;gt; 0 &amp;lt;=&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;\d -&amp;gt; [0-9]&lt;/p&gt;
&lt;p&gt;\D -&amp;gt; [^0-9]&lt;/p&gt;
&lt;p&gt;\w -&amp;gt; [a-zA-Z0-9_기타스크립트..?]&lt;/p&gt;
&lt;p&gt;\D, \w 차이점 \D 공백, 구두점, 인용 부호...등을 찾음 \w 는 그렇지 않음&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;?: -&amp;gt; 비참조 그룹&amp;nbsp;&lt;span style=&quot;color: #333333;&quot;&gt;메모리에 저장하지 않음&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;ex) (It) (is) 정규식이라면 참조 그룹으로 It -&amp;gt; $1, is -&amp;gt; $2 인데 (?:It) (?:is) 정규식으로 $1 $2 를 불러오면 예외발생&amp;nbsp;&lt;/p&gt;</description>
      <category>아무거나</category>
      <category>정규식</category>
      <category>정규표현식</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/138</guid>
      <comments>https://devnot.tistory.com/138#entry138comment</comments>
      <pubDate>Fri, 13 Sep 2019 12:13:44 +0900</pubDate>
    </item>
    <item>
      <title>정규표현식 테스트 사이트</title>
      <link>https://devnot.tistory.com/137</link>
      <description>&lt;p&gt;&lt;a href=&quot;https://regexr.com/38pvb&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;https://regexr.com/&lt;/a&gt;&lt;/p&gt;
&lt;figure class=&quot;og-loading&quot; contenteditable=&quot;false&quot;&gt;불러오는 중입니다...&lt;/figure&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;figure id=&quot;og_1568340458330&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot;&gt;&lt;a href=&quot;https://regexr.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-original-url=&quot;https://regexr.com/38pvb&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url('https://scrap.kakaocdn.net/dn/bYHjoA/hyCOkUKFJq/hilcfGPM1JCEBBrKQLFtfk/img.png?width=1200&amp;amp;height=630&amp;amp;face=0_0_1200_630');&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot;&gt;RegExr: Learn, Build, &amp;amp; Test RegEx&lt;/p&gt;
&lt;p class=&quot;og-desc&quot;&gt;RegExr is an online tool to learn, build, &amp;amp; test Regular Expressions (RegEx / RegExp).&lt;/p&gt;
&lt;p class=&quot;og-host&quot;&gt;regexr.com&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.regextester.com&quot;&gt;https://www.regextester.com&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1568340473715&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot;&gt;&lt;a href=&quot;https://www.regextester.com&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-original-url=&quot;https://www.regextester.com&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url();&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot;&gt;Regex Tester and Debugger Online - Javascript, PCRE, PHP&lt;/p&gt;
&lt;p class=&quot;og-desc&quot;&gt;Regex Tester requires a modern browser. Please update your browser to the latest version and try again.&lt;/p&gt;
&lt;p class=&quot;og-host&quot;&gt;www.regextester.com&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;자바스크립트 정규표현식 설명&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://poiemaweb.com/js-regexp&quot;&gt;https://poiemaweb.com/js-regexp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>아무거나</category>
      <category>정규식 정규표현식</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/137</guid>
      <comments>https://devnot.tistory.com/137#entry137comment</comments>
      <pubDate>Fri, 13 Sep 2019 11:08:06 +0900</pubDate>
    </item>
    <item>
      <title>쿠버네티스 명령어</title>
      <link>https://devnot.tistory.com/135</link>
      <description>&lt;p&gt;자원 나열 [node, deployment, service, pod ..]&lt;/p&gt;
&lt;pre class=&quot;accesslog&quot;&gt;&lt;code&gt;kubectl get [resource]&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;자원에 대한 상세한 정보 보기 [node, deployment, service, pod ..]&lt;/p&gt;
&lt;pre class=&quot;sql&quot;&gt;&lt;code&gt;kubectl describe [resource] [resourcename]&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;파드 내 컨테이너의 로그들을 출력&lt;/p&gt;
&lt;pre class=&quot;accesslog&quot;&gt;&lt;code&gt;kubectl logs [파드 이름]&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;파드 내 컨테이너에 대한 명령을 실행 (option = -it 파드 내부 쉘 접근)&lt;/p&gt;
&lt;pre class=&quot;accesslog&quot;&gt;&lt;code&gt;kubectl exec [option] [파드 이름]&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;deployment 업스케일링 describe.Events 목록에 업스케일링 내역이 있다.&lt;/p&gt;
&lt;pre class=&quot;accesslog&quot;&gt;&lt;code&gt;kubectl scale [deployment 이름] --replicas=4&lt;/code&gt;&lt;/pre&gt;</description>
      <category>가상화/쿠버네티스</category>
      <author>세객</author>
      <guid isPermaLink="true">https://devnot.tistory.com/135</guid>
      <comments>https://devnot.tistory.com/135#entry135comment</comments>
      <pubDate>Wed, 4 Sep 2019 08:06:31 +0900</pubDate>
    </item>
  </channel>
</rss>