본문 바로가기

전체 글

(291)
[kubernetes] 쿠버네티스 소개 https://youtu.be/DU2RDN7ZXo8?list=PLIUCBpK1dpsNf1m-2kiosmfn2nXfljQgb master, node, k8s, kubectl(큐브컨트롤), etcd, pod, istio, hem, knative Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. Overview Kubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that f..
[kubernetes] 컨테이너 오케스트레이션? ~ 왜 쿠버네티스인가 https://youtu.be/Ia8IfowgU7s 강의 보면서 정리하기 서버를 관리한다는 것 : 서버의 상태를 관리하는 노력이 필요 문서화 -> 설정관리도구(CHEF, puppet, ANSIBLE) -> 가상머신(서버 하나에 가상머신을 여러개 올림) -> 컨테이너(대표: Docker)모든 실행환경을 컨테이너로 바꿈 컨테이너의 특징 -> 전체 서버의 환경을 가져옴 1. 가상머신과 비교하여 컨테이너 생성이 쉽고 효율적 2. 컨테이너 이미지를 이용한 배포와 롤백이 간단한 3. 언어나 프레임워크에 상관없이 애플리케이션을 동일한 방식으로 관리 4. 개발, 테스팅, 운영환경은 물론 로컬PC와 클라우드 까지 동일한 환경을 구축 5. 특정 클라우드 벤더에 종속적이지 않음 Developer -> Build -> Shi..
[kubernetes] 쿠버네티스란 무엇인가 https://kubernetes.io/ko/docs/concepts/overview/ https://www.samsungsds.com/kr/insights/220222_kubernetes1.html 쿠버네티스 알아보기 1편: 쿠버네티스와 컨테이너, 도커에 대한 기본 개념 | 인사이트리포트 | 삼 요즘 IT 생태계에 관심이 많으신 분들이라면 쿠버네티스라는 단어를 들어 보셨을 텐데요. 쿠버네티스에 대해 개발자들의 관심이 높아지고 있고, 여러 대기업에서 새로운 시스템을 쿠버네티스를 www.samsungsds.com 컨테이너 : 앱이 구동되는 환경 까지 모두 감싸서 실행할 수 있도록 하는 격리 기술 컨테이너 런타임 : 컨테이너를 다루는 도구 -> 이중에 가장 유명한 것이 Docker 쿠버네티스 : 컨테이너 런..
[Java] Super https://www.baeldung.com/java-super super class는 부모 class에 액세스한다는 의미이다 The super Keyword With Constructors 부모의 기본 cunstructor를 호출한다 public class SuperSub extends SuperBase { public SuperSub(String message) { super(message); } } 이런 코드가 있다면 child class instance에서 new 키워드로 부모 constructor를 먼저 호출하여 String인수를 전달 하는 SuperSub의 생성자를 호출한다 SuperSub child = new SuperSub("message from the child class"); Acce..
[Java] Interface Supplier<T> https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Supplier.html Supplier (Java SE 11 & JDK 11 ) docs.oracle.com Module java.base Package java.util.function Interface Supplier Type Parameters:T - the type of results supplied by this supplierAll Known Subinterfaces:ServiceLoader.ProviderAll Known Implementing Classes:GuardingDynamicLinkerExporterFunctional Interface:T..
[Java] this https://www.baeldung.com/java-this this 는 method가 호출되는 현재 객체에 대한 참조이다 이 this는 자주 쓰면서도 정확한 개념을 모르는 경우가 많다 Disambiguating Field Shadowing instance 변수와 로컬 매개변수를 구분할때 유용하다 인스턴스 필드와 이름이 같은 생성자 매개변수가 있을 때 매개변수와 구분하기 위해 this를 사용한다 public class KeywordTest { private String name; private int age; public KeywordTest(String name, int age) { this.name = name; this.age = age; } } Referencing Constructors of ..
[Spring JUnit5 Test] 간단한 코드 작성 @RestController @RequestMapping("/api/users") public class UserController { private final UserService userService; public UserController(UserService userService) { this.userService = userService; } @GetMapping("/{userId}") public UserDto getUserById(@PathVariable Long userId) { return userService.getUserById(userId); } @PostMapping public UserDto createUser(@RequestBody CreateUserDto createUserD..
[Spring Junit Test] 2.11. Test Instance Lifecycle https://junit.org/junit5/docs/current/user-guide/#writing-tests-test-instance-lifecycle JUnit 5 User Guide Although the JUnit Jupiter programming model and extension model do not support JUnit 4 features such as Rules and Runners natively, it is not expected that source code maintainers will need to update all of their existing tests, test extensions, and custo junit.org 잘못된 해석이 있다면 알려주세요 🐥 2.11..

728x90