diff --git a/Cargo.toml b/Cargo.toml index 65206c10..2bf0b398 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,12 @@ rust-version = "1.79" [profile.dev.package."*"] debug = false +[profile.dev.package.insta] +opt-level = 3 + +[profile.dev.package.similar] +opt-level = 3 + [workspace.dependencies] sk-api = { version = "2.0.0", path = "sk-api" } sk-core = { version = "2.0.0", path = "sk-core" } diff --git a/sk-cli/src/xray/app.rs b/sk-cli/src/xray/app.rs index 8607d094..dbaae83a 100644 --- a/sk-cli/src/xray/app.rs +++ b/sk-cli/src/xray/app.rs @@ -15,11 +15,19 @@ pub(super) enum Mode { pub(super) enum Message { Deselect, - Down(u16, bool), + Down, + PageDown, + PageUp, Quit, Select, Unknown, - Up(u16, bool), + Up, +} + +#[derive(Copy, Clone, Eq, PartialEq)] +pub(super) enum JumpDir { + Down, + Up, } #[derive(Default)] @@ -34,7 +42,7 @@ pub(super) struct App { pub(super) object_contents_list_state: ListState, pub(super) focused_frame_height: u16, - pub(super) jump: bool, + pub(super) jump: Option, } impl App { @@ -55,21 +63,17 @@ impl App { } pub(super) fn update_state(&mut self, msg: Message) -> bool { - self.jump = false; + self.jump = None; let focused_list_state = match self.mode { Mode::ObjectSelected => &mut self.object_contents_list_state, Mode::EventSelected => &mut self.object_list_state, Mode::RootView => &mut self.event_list_state, }; match msg { - Message::Down(i, jump) => { - focused_list_state.scroll_down_by(i); - self.jump = jump; - }, - Message::Up(i, jump) => { - focused_list_state.scroll_up_by(i); - self.jump = jump; - }, + Message::Down => focused_list_state.select_next(), + Message::Up => focused_list_state.select_previous(), + Message::PageDown => self.jump = Some(JumpDir::Down), + Message::PageUp => self.jump = Some(JumpDir::Up), Message::Deselect => match self.mode { Mode::ObjectSelected => { @@ -81,15 +85,17 @@ impl App { }, Message::Select => match self.mode { Mode::EventSelected => { - let i = self.selected_event_index(); + let i = self.highlighted_event_index(); if !self.annotated_trace.is_empty_at(i) { self.mode = Mode::ObjectSelected; self.object_contents_list_state.select(Some(0)); + *self.object_contents_list_state.offset_mut() = 0; } }, Mode::RootView => { self.mode = Mode::EventSelected; self.object_list_state.select(Some(0)); + *self.object_list_state.offset_mut() = 0; }, _ => (), }, @@ -102,7 +108,8 @@ impl App { false } - pub(super) fn selected_event_index(&self) -> usize { + pub(super) fn highlighted_event_index(&self) -> usize { + // "selected" in this context means "highlighted" in the xray context self.event_list_state.selected().unwrap() // there should always be a selected event } } diff --git a/sk-cli/src/xray/event.rs b/sk-cli/src/xray/event.rs index 48f65d94..31ea3a93 100644 --- a/sk-cli/src/xray/event.rs +++ b/sk-cli/src/xray/event.rs @@ -6,26 +6,19 @@ use ratatui::crossterm::event::{ KeyModifiers, }; -use super::{ - App, - Message, -}; +use super::Message; const NO_MOD: KeyModifiers = KeyModifiers::empty(); -pub(super) fn handle_event(app: &App) -> anyhow::Result { +pub(super) fn handle_event() -> anyhow::Result { if let Event::Key(key) = read()? { if key.kind == KeyEventKind::Press { return Ok(match (key.code, key.modifiers) { // navigation - (KeyCode::Up, NO_MOD) | (KeyCode::Char('k'), NO_MOD) => Message::Up(1, false), - (KeyCode::Down, NO_MOD) | (KeyCode::Char('j'), NO_MOD) => Message::Down(1, false), - (KeyCode::PageUp, NO_MOD) | (KeyCode::Char('b'), KeyModifiers::CONTROL) => { - Message::Up(app.focused_frame_height - 1, true) - }, - (KeyCode::PageDown, NO_MOD) | (KeyCode::Char('f'), KeyModifiers::CONTROL) => { - Message::Down(app.focused_frame_height - 1, true) - }, + (KeyCode::Up, NO_MOD) | (KeyCode::Char('k'), NO_MOD) => Message::Up, + (KeyCode::Down, NO_MOD) | (KeyCode::Char('j'), NO_MOD) => Message::Down, + (KeyCode::PageUp, NO_MOD) | (KeyCode::Char('b'), KeyModifiers::CONTROL) => Message::PageUp, + (KeyCode::PageDown, NO_MOD) | (KeyCode::Char('f'), KeyModifiers::CONTROL) => Message::PageDown, // selection (KeyCode::Char(' '), NO_MOD) => Message::Select, diff --git a/sk-cli/src/xray/mod.rs b/sk-cli/src/xray/mod.rs index e47ac353..5f1e88b4 100644 --- a/sk-cli/src/xray/mod.rs +++ b/sk-cli/src/xray/mod.rs @@ -34,7 +34,7 @@ fn run_loop(mut term: Terminal, mut app: App) -> EmptyResult { app.rebuild_annotated_trace(); } term.draw(|frame| view(&mut app, frame))?; - let msg = handle_event(&app)?; + let msg = handle_event()?; trace_changed = app.update_state(msg); } Ok(()) diff --git a/sk-cli/src/xray/tests/mod.rs b/sk-cli/src/xray/tests/mod.rs index 19a45c93..6b0834f2 100644 --- a/sk-cli/src/xray/tests/mod.rs +++ b/sk-cli/src/xray/tests/mod.rs @@ -1,9 +1,6 @@ mod app_test; -mod testutils; -mod view_test; use rstest::*; use super::app::*; use super::*; -use crate::set_snapshot_suffix; diff --git a/sk-cli/src/xray/tests/view_test.rs b/sk-cli/src/xray/tests/view_test.rs index 362c6a6c..af2048c6 100644 --- a/sk-cli/src/xray/tests/view_test.rs +++ b/sk-cli/src/xray/tests/view_test.rs @@ -12,6 +12,7 @@ use crate::validation::{ AnnotatedTrace, ValidationStore, }; +use crate::xray::view::jump_list_state; #[fixture] fn test_app(test_validation_store: ValidationStore, mut annotated_trace: AnnotatedTrace) -> App { @@ -23,6 +24,13 @@ fn test_app(test_validation_store: ValidationStore, mut annotated_trace: Annotat } } +#[rstest] +fn test_jump_list_state_down() { + let mut list_state = ListState::default(); + jump_list_state(&mut list_state, JumpDir::Down, 42, 20, false); + assert_eq!(list_state.offset(), 20); +} + #[rstest] #[case::first(0)] #[case::last(3)] diff --git a/sk-cli/src/xray/view/mod.rs b/sk-cli/src/xray/view/mod.rs index 169814a6..4bc26fde 100644 --- a/sk-cli/src/xray/view/mod.rs +++ b/sk-cli/src/xray/view/mod.rs @@ -1,5 +1,9 @@ mod helpers; +use std::cmp::{ + max, + min, +}; use std::iter::{ once, repeat, @@ -11,6 +15,7 @@ use ratatui::widgets::{ Borders, Clear, List, + ListState, Padding, Paragraph, }; @@ -18,6 +23,7 @@ use ratatui::widgets::{ use self::helpers::*; use super::app::{ App, + JumpDir, Mode, }; @@ -93,11 +99,9 @@ fn render_event_list(app: &mut App, frame: &mut Frame, layout: Rect) { let start_ts = app.annotated_trace.start_ts().unwrap_or(0); // Add one so the selected event is included on top + let hi_index = app.highlighted_event_index(); let (sel_index_inclusive, sel_event) = match app.mode { - Mode::EventSelected | Mode::ObjectSelected => { - let sel_index = app.selected_event_index(); - (sel_index + 1, app.annotated_trace.get_event(sel_index)) - }, + Mode::EventSelected | Mode::ObjectSelected => (hi_index + 1, app.annotated_trace.get_event(hi_index)), _ => (num_events, None), }; @@ -105,6 +109,7 @@ fn render_event_list(app: &mut App, frame: &mut Frame, layout: Rect) { let mut top_entries = format_list_entries(event_spans, layout.width as usize); let bottom_entries = top_entries.split_off(sel_index_inclusive); + // chain together the applied and deleted objects with either a "+" or "-" prefix, respectively let obj_spans = sel_event.map_or(vec![], |evt| { let mut sublist_items = evt .data @@ -116,21 +121,53 @@ fn render_event_list(app: &mut App, frame: &mut Frame, layout: Rect) { .map(|(i, (obj, op))| make_object_spans(i, obj, op, evt)) .peekable(); if sublist_items.peek().is_none() { + // if there are no objects associated with this event, we display an empty span format_list_entries(once((Span::default(), Span::default())), layout.width as usize) } else { format_list_entries(sublist_items, layout.width as usize) } }); + // Compute the constraint values for the first part of the events list and the objects list + // AND ALSO update the selected and offset pointers if we've jumped; we have to interweave + // these because we base the jump distance on the currently viewed events and objects + let (top_height, mid_height) = if app.mode == Mode::RootView { + if let Some(dir) = app.jump { + jump_list_state(&mut app.event_list_state, dir, top_entries.len(), layout.height, false); + } + // If we're in the root view, the number of entries to display is just the total number of + // events minus the current view offset. Since there is no selected event, the number of + // middle entries is 0. + (top_entries.len().saturating_sub(app.event_list_state.offset()) as u16, 0) + } else { + // If we've selected an event to view, we have to first compute the height ot the top list + // as above; the length of the middle list is either: + // - 1 if the selected event is at the very bottom of the display (which will push the offset of + // the top list up by one) + // - the number of rows between the selected event and the bottom of the display, OR + // - the total number of objects belonging to this event (if they all fit) + let th = top_entries.len().saturating_sub(app.event_list_state.offset()) as u16; + let mh = min( + max(1, layout.height.saturating_sub(th)), + obj_spans.len().saturating_sub(app.object_list_state.offset()) as u16, + ); + + // Once we know how many objects we can display for this event, we can compute the amount + // to jump (if any); the key observation that makes this all work is that if we've selected + // an event, the length of the top entries is fixed. + if app.mode == Mode::EventSelected { + if let Some(dir) = app.jump { + jump_list_state(&mut app.object_list_state, dir, obj_spans.len(), mh, true); + }; + } + (th, mh) + }; + + // We know how many lines we have; use max constraints here so the lists are next to + // each other. The last one can be min(0) and take up the rest of the space let nested_layout = Layout::default() .direction(Direction::Vertical) - .constraints(vec![ - // We know how many lines we have; use max constraints here so the lists are next to - // each other. The last one can be min(0) and take up the rest of the space - Constraint::Max(top_entries.len() as u16), - Constraint::Max(obj_spans.len() as u16), - Constraint::Min(0), - ]) + .constraints(vec![Constraint::Max(top_height), Constraint::Max(mid_height), Constraint::Min(0)]) .split(layout); let list_part_one = List::new(top_entries) @@ -141,10 +178,6 @@ fn render_event_list(app: &mut App, frame: &mut Frame, layout: Rect) { .highlight_symbol("++ "); let list_part_two = List::new(bottom_entries).block(Block::new().padding(Padding::left(LIST_PADDING as u16))); - if app.jump && sel_index_inclusive - 1 < list_part_one.len() { - *app.event_list_state.offset_mut() = sel_index_inclusive - 1; - } - frame.render_stateful_widget(list_part_one, nested_layout[0], &mut app.event_list_state); frame.render_stateful_widget(sublist, nested_layout[1], &mut app.object_list_state); frame.render_widget(list_part_two, nested_layout[2]); @@ -153,7 +186,6 @@ fn render_event_list(app: &mut App, frame: &mut Frame, layout: Rect) { fn render_object(app: &mut App, frame: &mut Frame, layout: Rect) { let event_idx = app.event_list_state.selected().unwrap(); let obj_idx = app.object_list_state.selected().unwrap(); - let obj_contents_idx = app.object_contents_list_state.selected().unwrap(); let Some(obj) = app.annotated_trace.get_object(event_idx, obj_idx) else { return; @@ -161,8 +193,54 @@ fn render_object(app: &mut App, frame: &mut Frame, layout: Rect) { let obj_str = serde_json::to_string_pretty(obj).unwrap(); let contents = List::new(obj_str.split('\n')).highlight_style(Style::new().bg(Color::Blue)); - if app.jump && obj_contents_idx < contents.len() { - *app.object_contents_list_state.offset_mut() = obj_contents_idx; + if app.mode == Mode::ObjectSelected { + if let Some(dir) = app.jump { + jump_list_state(&mut app.object_contents_list_state, dir, contents.len(), layout.height, false); + } } + frame.render_stateful_widget(contents, layout, &mut app.object_contents_list_state); } + +fn jump_list_state(list_state: &mut ListState, jump_dir: JumpDir, list_len: usize, view_height: u16, pin_bottom: bool) { + // compute how far to jump in the specified direction, given the number of items in the + // list that we're trying to display and how much room we have to display them + let offset = list_state.offset(); + let selected = list_state.selected().unwrap(); + + let new_pos = match jump_dir { + // If we jump down, we increase the selection by the view height - 1, so that the + // last-visible item before the jump becomes the first-visible item after the jump + JumpDir::Down => (offset + view_height as usize).saturating_sub(1), + + // If we jump up, and we aren't on the first item, just jump to the top of the current + // page; otherwise, page up, but subtract one so that the top item before the jump + // becomes the bottom item after the jump + JumpDir::Up => { + if selected != offset { + offset + } else { + // make sure the -1 is _inside_ the saturating_sub, instead of adding 1 _outside_; + // otherwise you get weird behaviours when selected == offset == 0. + offset.saturating_sub(view_height as usize - 1) + } + }, + }; + + // we're relying on the ratatui behaviour of adjusting the selected index to be "within bounds" + // if we computed something out of bounds above. + list_state.select(Some(new_pos)); + + // pin_bottom means that we don't want to have empty space at the bottom if we jumped "too + // far", so we make a special (smaller) offset computation in this case + if pin_bottom && list_len.saturating_sub(new_pos) < view_height as usize { + *list_state.offset_mut() = list_len.saturating_sub(view_height as usize); + } else if new_pos < list_len { + // otherwise, we just set the new offset to the selected item, so that it appears at the + // top of the page + *list_state.offset_mut() = new_pos; + } +} + +#[cfg(test)] +mod tests; diff --git a/sk-cli/src/xray/view/tests/mod.rs b/sk-cli/src/xray/view/tests/mod.rs new file mode 100644 index 00000000..1735a7f2 --- /dev/null +++ b/sk-cli/src/xray/view/tests/mod.rs @@ -0,0 +1,8 @@ +mod testutils; +mod view_test; + +use rstest::*; + +use super::*; +use crate::set_snapshot_suffix; +use crate::xray::app::*; diff --git a/sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list@0.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list@0.snap similarity index 100% rename from sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list@0.snap rename to sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list@0.snap diff --git a/sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list@3.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list@3.snap similarity index 100% rename from sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list@3.snap rename to sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list@3.snap diff --git a/sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list_event_selected@0.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list_event_selected@0.snap similarity index 100% rename from sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list_event_selected@0.snap rename to sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list_event_selected@0.snap diff --git a/sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list_event_selected@2.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list_event_selected@2.snap similarity index 100% rename from sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list_event_selected@2.snap rename to sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list_event_selected@2.snap diff --git a/sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list_event_selected@3.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list_event_selected@3.snap similarity index 100% rename from sk-cli/src/xray/tests/snapshots/skctl__xray__tests__view_test__itest_render_event_list_event_selected@3.snap rename to sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_event_list_event_selected@3.snap diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@0.0.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@0.0.snap new file mode 100644 index 00000000..f9c20b2a --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@0.0.snap @@ -0,0 +1,50 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│>> 00:00:00 (0 applied/0 deleted) │", + "│ 00:00:00 (27 applied/0 deleted) 1 error/0 warnings │", + "│ 00:07:03 (1 applied/0 deleted) │", + "│ 00:09:08 (3 applied/0 deleted) 1 error/0 warnings │", + "│ 00:09:11 (1 applied/0 deleted) │", + "│ 00:09:13 (1 applied/0 deleted) │", + "│ 00:09:16 (109 applied/0 deleted) 1 error/0 warnings │", + "│ 00:09:23 (1 applied/0 deleted) │", + "│ 00:09:43 (1 applied/0 deleted) │", + "│ 00:12:48 (1 applied/0 deleted) │", + "│ 00:13:09 (1 applied/0 deleted) │", + "│ 00:13:17 (1 applied/0 deleted) │", + "│ 00:13:32 (1 applied/0 deleted) │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 79, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 2, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 4, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 7, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@10.0.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@10.0.snap new file mode 100644 index 00000000..24edcdc3 --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@10.0.snap @@ -0,0 +1,50 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│ 00:00:00 (0 applied/0 deleted) │", + "│ 00:00:00 (27 applied/0 deleted) 1 error/0 warnings │", + "│ 00:07:03 (1 applied/0 deleted) │", + "│ 00:09:08 (3 applied/0 deleted) 1 error/0 warnings │", + "│ 00:09:11 (1 applied/0 deleted) │", + "│ 00:09:13 (1 applied/0 deleted) │", + "│ 00:09:16 (109 applied/0 deleted) 1 error/0 warnings │", + "│ 00:09:23 (1 applied/0 deleted) │", + "│ 00:09:43 (1 applied/0 deleted) │", + "│ 00:12:48 (1 applied/0 deleted) │", + "│>> 00:13:09 (1 applied/0 deleted) │", + "│ 00:13:17 (1 applied/0 deleted) │", + "│ 00:13:32 (1 applied/0 deleted) │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 2, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 4, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 7, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 79, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@80.80.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@80.80.snap new file mode 100644 index 00000000..d819e23b --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@80.80.snap @@ -0,0 +1,46 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│>> 00:19:53 (1 applied/0 deleted) │", + "│ 00:19:54 (1 applied/0 deleted) │", + "│ 00:19:55 (1 applied/0 deleted) │", + "│ 00:19:56 (1 applied/0 deleted) │", + "│ 00:19:57 (1 applied/0 deleted) │", + "│ 00:19:58 (1 applied/0 deleted) │", + "│ 00:19:59 (1 applied/0 deleted) │", + "│ 00:21:04 (1 applied/0 deleted) │", + "│ 00:21:05 (27 applied/0 deleted) 1 error/0 warnings │", + "│ │", + "│ │", + "│ │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 79, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 9, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@88.80.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@88.80.snap new file mode 100644 index 00000000..6256fcac --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@88.80.snap @@ -0,0 +1,45 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│ 00:19:53 (1 applied/0 deleted) │", + "│ 00:19:54 (1 applied/0 deleted) │", + "│ 00:19:55 (1 applied/0 deleted) │", + "│ 00:19:56 (1 applied/0 deleted) │", + "│ 00:19:57 (1 applied/0 deleted) │", + "│ 00:19:58 (1 applied/0 deleted) │", + "│ 00:19:59 (1 applied/0 deleted) │", + "│ 00:21:04 (1 applied/0 deleted) │", + "│>> 00:21:05 (27 applied/0 deleted) 1 error/0 warnings │", + "│ │", + "│ │", + "│ │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 56, y: 9, fg: White, bg: Red, underline: Reset, modifier: REVERSED, + x: 79, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@88.88.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@88.88.snap new file mode 100644 index 00000000..97a6198e --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list@88.88.snap @@ -0,0 +1,45 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│>> 00:21:05 (27 applied/0 deleted) 1 error/0 warnings │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 56, y: 1, fg: White, bg: Red, underline: Reset, modifier: REVERSED, + x: 79, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@1.0.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@1.0.snap new file mode 100644 index 00000000..562c2df0 --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@1.0.snap @@ -0,0 +1,69 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│ 00:00:00 (0 applied/0 deleted) │", + "│>> 00:00:00 (27 applied/0 deleted) 1 error/0 warnings │", + "│ + dsb/user-timeline-service │", + "│ + dsb/media-service 1 error/0 warnings │", + "│ + dsb/home-timeline-service │", + "│ + dsb/user-mongodb │", + "│ + dsb/user-mention-service │", + "│ + dsb/jaeger │", + "│ + dsb/compose-post-service │", + "│ + dsb/social-graph-mongodb │", + "│ + dsb/user-service │", + "│ + dsb/media-frontend │", + "│ + dsb/user-timeline-mongodb │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 56, y: 2, fg: White, bg: Red, underline: Reset, modifier: REVERSED, + x: 79, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 22, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 53, y: 4, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 76, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 21, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 15, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 21, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 12, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 23, y: 12, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@3.0.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@3.0.snap new file mode 100644 index 00000000..ba5ef083 --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@3.0.snap @@ -0,0 +1,57 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│ 00:00:00 (0 applied/0 deleted) │", + "│ 00:00:00 (27 applied/0 deleted) 1 error/0 warnings │", + "│ 00:07:03 (1 applied/0 deleted) │", + "│>> 00:09:08 (3 applied/0 deleted) 1 error/0 warnings │", + "│ + dsb/url-shorten-service │", + "│ + dsb/compose-post-service 1 error/0 warnings │", + "│ + dsb/home-timeline-service │", + "│ 00:09:11 (1 applied/0 deleted) │", + "│ 00:09:13 (1 applied/0 deleted) │", + "│ 00:09:16 (109 applied/0 deleted) 1 error/0 warnings │", + "│ 00:09:23 (1 applied/0 deleted) │", + "│ 00:09:43 (1 applied/0 deleted) │", + "│ 00:12:48 (1 applied/0 deleted) │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 2, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 56, y: 4, fg: White, bg: Red, underline: Reset, modifier: REVERSED, + x: 79, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 28, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 53, y: 6, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 76, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 10, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@80.80.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@80.80.snap new file mode 100644 index 00000000..932a4e24 --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@80.80.snap @@ -0,0 +1,48 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│>> 00:19:53 (1 applied/0 deleted) │", + "│ + dsb/compose-post-service │", + "│ 00:19:54 (1 applied/0 deleted) │", + "│ 00:19:55 (1 applied/0 deleted) │", + "│ 00:19:56 (1 applied/0 deleted) │", + "│ 00:19:57 (1 applied/0 deleted) │", + "│ 00:19:58 (1 applied/0 deleted) │", + "│ 00:19:59 (1 applied/0 deleted) │", + "│ 00:21:04 (1 applied/0 deleted) │", + "│ 00:21:05 (27 applied/0 deleted) 1 error/0 warnings │", + "│ │", + "│ │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 79, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 56, y: 10, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 79, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@88.80.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@88.80.snap new file mode 100644 index 00000000..09c303d3 --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@88.80.snap @@ -0,0 +1,55 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│ 00:19:53 (1 applied/0 deleted) │", + "│ 00:19:54 (1 applied/0 deleted) │", + "│ 00:19:55 (1 applied/0 deleted) │", + "│ 00:19:56 (1 applied/0 deleted) │", + "│ 00:19:57 (1 applied/0 deleted) │", + "│ 00:19:58 (1 applied/0 deleted) │", + "│ 00:19:59 (1 applied/0 deleted) │", + "│ 00:21:04 (1 applied/0 deleted) │", + "│>> 00:21:05 (27 applied/0 deleted) 1 error/0 warnings │", + "│ + dsb/user-timeline-service │", + "│ + dsb/media-service 1 error/0 warnings │", + "│ + dsb/home-timeline-service │", + "│ + dsb/user-mongodb │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 56, y: 9, fg: White, bg: Red, underline: Reset, modifier: REVERSED, + x: 79, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 22, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 53, y: 11, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 76, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 12, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 12, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 21, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@88.88.snap b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@88.88.snap new file mode 100644 index 00000000..a439bf0a --- /dev/null +++ b/sk-cli/src/xray/view/tests/snapshots/skctl__xray__view__tests__view_test__itest_render_large_event_list_event_selected@88.88.snap @@ -0,0 +1,71 @@ +--- +source: sk-cli/src/xray/view/tests/view_test.rs +expression: cf +--- +CompletedFrame { + buffer: Buffer { + area: Rect { x: 0, y: 0, width: 80, height: 20 }, + content: [ + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│>> 00:21:05 (27 applied/0 deleted) 1 error/0 warnings │", + "│ + dsb/user-timeline-service │", + "│ + dsb/media-service 1 error/0 warnings │", + "│ + dsb/home-timeline-service │", + "│ + dsb/user-mongodb │", + "│ + dsb/user-mention-service │", + "│ + dsb/jaeger │", + "│ + dsb/compose-post-service │", + "│ + dsb/social-graph-mongodb │", + "│ + dsb/user-service │", + "│ + dsb/media-frontend │", + "│ + dsb/user-timeline-mongodb │", + "│ + dsb/media-mongodb │", + "└──────────────────────────────────────────────────────────────────────────────┘", + "┌──────────────────────────────────────────────────────────────────────────────┐", + "│Hello SimKube! │", + "│Use arrows to navigate, space to select, 'q' to quit. │", + "│ │", + "└──────────────────────────────────────────────────────────────────────────────┘", + ], + styles: [ + x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED, + x: 56, y: 1, fg: White, bg: Red, underline: Reset, modifier: REVERSED, + x: 79, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 22, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 53, y: 3, fg: White, bg: Red, underline: Reset, modifier: NONE, + x: 76, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 21, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 15, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 29, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 21, y: 10, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 23, y: 11, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 12, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 30, y: 12, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 1, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: ITALIC, + x: 22, y: 13, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 0, y: 15, fg: White, bg: Reset, underline: Reset, modifier: NONE, + ] + }, + area: Rect { + x: 0, + y: 0, + width: 80, + height: 20, + }, + count: 0, +} diff --git a/sk-cli/src/xray/tests/testutils.rs b/sk-cli/src/xray/view/tests/testutils.rs similarity index 100% rename from sk-cli/src/xray/tests/testutils.rs rename to sk-cli/src/xray/view/tests/testutils.rs diff --git a/sk-cli/src/xray/view/tests/view_test.rs b/sk-cli/src/xray/view/tests/view_test.rs new file mode 100644 index 00000000..4749756d --- /dev/null +++ b/sk-cli/src/xray/view/tests/view_test.rs @@ -0,0 +1,151 @@ +use std::fs::File; +use std::io::BufReader; + +use insta::assert_debug_snapshot; +use ratatui::backend::TestBackend; +use ratatui::prelude::*; +use ratatui::widgets::ListState; +use sk_store::ExportedTrace; + +use super::*; +use crate::validation::tests::{ + annotated_trace, + test_validation_store, +}; +use crate::validation::{ + AnnotatedTrace, + AnnotatedTraceEvent, + ValidationStore, +}; +use crate::xray::view::jump_list_state; + +#[fixture] +fn test_app(test_validation_store: ValidationStore, mut annotated_trace: AnnotatedTrace) -> App { + test_validation_store.validate_trace(&mut annotated_trace, false).unwrap(); + App { + annotated_trace, + event_list_state: ListState::default().with_selected(Some(0)), + ..Default::default() + } +} + +#[fixture] +fn test_app_large(test_validation_store: ValidationStore) -> App { + let trace_data_file = File::open("../testdata/large_trace.json").unwrap(); + let reader = BufReader::new(trace_data_file); + let exported_trace: ExportedTrace = serde_json::from_reader(reader).unwrap(); + let annotated_trace = AnnotatedTrace::new_with_events( + exported_trace + .events() + .iter() + .cloned() + .map(|e| AnnotatedTraceEvent::new(e)) + .collect(), + ); + + test_app(test_validation_store, annotated_trace) +} + +#[rstest] +#[case::top(0, 0, false, 19, 19)] +#[case::top_mid_sel(10, 0, false, 19, 19)] +#[case::top_pin(0, 0, true, 19, 19)] +#[case::mid(20, 20, false, 39, 39)] +// the view height is 20, we are trying to jump to 39 but this would leave 17 empty spaces +// since there are only 42 elements in the list, so instead we set the offset to 22 +#[case::mid_pin(20, 20, true, 39, 22)] +// when rendered, the "selected" index will become the last index in the list but for now we +// just naively add the viewport height to it, which is why the expected offset is 60 here +#[case::bottom(41, 41, false, 60, 41)] +#[case::bottom_pin(41, 41, true, 60, 22)] +fn test_jump_list_state_down( + #[case] selected: usize, + #[case] offset: usize, + #[case] pin: bool, + #[case] expected_selected: usize, + #[case] expected_offset: usize, +) { + let mut list_state = ListState::default().with_offset(offset).with_selected(Some(selected)); + jump_list_state(&mut list_state, JumpDir::Down, 42, 20, pin); + assert_eq!(list_state.offset(), expected_offset); + assert_eq!(list_state.selected().unwrap(), expected_selected); +} + +#[rstest] +#[case::top(0, 0, 0, 0)] +#[case::top_mid_sel(10, 0, 0, 0)] +#[case::mid_to_top(10, 10, 0, 0)] +#[case::mid(23, 23, 4, 4)] +#[case::mid_mid_sel(25, 23, 23, 23)] +#[case::bottom(42, 42, 23, 23)] +fn test_jump_list_state_up( + #[case] selected: usize, + #[case] offset: usize, + #[case] expected_offset: usize, + #[case] expected_selected: usize, +) { + let mut list_state = ListState::default().with_offset(offset).with_selected(Some(selected)); + jump_list_state(&mut list_state, JumpDir::Up, 42, 20, false); + assert_eq!(list_state.offset(), expected_offset); + assert_eq!(list_state.selected().unwrap(), expected_selected); +} + +#[rstest] +#[case::first(0)] +#[case::last(3)] +fn itest_render_event_list(mut test_app: App, #[case] index: usize) { + set_snapshot_suffix!("{index}"); + test_app.event_list_state.select(Some(index)); + let mut term = Terminal::new(TestBackend::new(80, 20)).unwrap(); + let cf = term.draw(|frame| view(&mut test_app, frame)).unwrap(); + assert_debug_snapshot!(cf); +} + +#[rstest] +#[case::first(0)] +#[case::middle(2)] +#[case::last(3)] +fn itest_render_event_list_event_selected(mut test_app: App, #[case] index: usize) { + set_snapshot_suffix!("{index}"); + test_app.mode = Mode::EventSelected; + test_app.event_list_state.select(Some(index)); + test_app.object_list_state.select(Some(0)); + let mut term = Terminal::new(TestBackend::new(80, 20)).unwrap(); + let cf = term.draw(|frame| view(&mut test_app, frame)).unwrap(); + assert_debug_snapshot!(cf); +} + +#[rstest] +#[case::top_1(0, 0)] +#[case::top_2(10, 0)] +#[case::bottom_1(80, 80)] +#[case::bottom_2(88, 80)] +#[case::bottom_3(88, 88)] +fn itest_render_large_event_list(mut test_app_large: App, #[case] selected: usize, #[case] offset: usize) { + set_snapshot_suffix!("{selected}.{offset}"); + test_app_large.event_list_state.select(Some(selected)); + *test_app_large.event_list_state.offset_mut() = offset; + let mut term = Terminal::new(TestBackend::new(80, 20)).unwrap(); + let cf = term.draw(|frame| view(&mut test_app_large, frame)).unwrap(); + assert_debug_snapshot!(cf); +} + +#[rstest] +#[case::top_1(1, 0)] +#[case::top_2(3, 0)] +#[case::bottom_1(80, 80)] +#[case::bottom_2(88, 80)] +#[case::bottom_3(88, 88)] +fn itest_render_large_event_list_event_selected( + mut test_app_large: App, + #[case] selected: usize, + #[case] offset: usize, +) { + set_snapshot_suffix!("{selected}.{offset}"); + test_app_large.mode = Mode::EventSelected; + test_app_large.event_list_state.select(Some(selected)); + *test_app_large.event_list_state.offset_mut() = offset; + let mut term = Terminal::new(TestBackend::new(80, 20)).unwrap(); + let cf = term.draw(|frame| view(&mut test_app_large, frame)).unwrap(); + assert_debug_snapshot!(cf); +} diff --git a/sk-driver/src/tests/helpers.rs b/sk-driver/src/tests/helpers.rs index a03bbbbd..9571e05c 100644 --- a/sk-driver/src/tests/helpers.rs +++ b/sk-driver/src/tests/helpers.rs @@ -13,7 +13,7 @@ use super::*; pub fn build_trace_data(has_start_marker: bool) -> Vec { // I want the trace data to be easily editable, so we load it from a plain-text JSON file and // then re-encode it into msgpack so we can pass the data to import - let trace_data_file = File::open("./src/tests/data/trace.json").unwrap(); + let trace_data_file = File::open("../testdata/trace.json").unwrap(); let reader = BufReader::new(trace_data_file); let mut exported_trace: ExportedTrace = serde_json::from_reader(reader).unwrap(); diff --git a/sk-store/src/lib.rs b/sk-store/src/lib.rs index 3af6d1c0..89d8d2df 100644 --- a/sk-store/src/lib.rs +++ b/sk-store/src/lib.rs @@ -127,4 +127,8 @@ impl ExportedTrace { tmp.append(&mut self.events); self.events = tmp; } + + pub fn events(&self) -> Vec { + self.events.clone() + } } diff --git a/sk-store/src/store.rs b/sk-store/src/store.rs index baf38935..a0409883 100644 --- a/sk-store/src/store.rs +++ b/sk-store/src/store.rs @@ -100,12 +100,18 @@ impl TraceStore { self.export(start_ts, end_ts, &ExportFilters::default()) } + pub fn import(data: Vec, maybe_duration: &Option) -> anyhow::Result { + let exported_trace = rmp_serde::from_slice::(&data).map_err(TraceStoreError::ParseFailed)?; + Self::from_exported_trace(exported_trace, maybe_duration) + } + // Note that _importing_ data into a trace store is lossy -- we don't store (or import) all of // the metadata necessary to pick up a trace and continue. Instead, we just re-import enough // information to be able to run a simulation off the trace store. - pub fn import(data: Vec, maybe_duration: &Option) -> anyhow::Result { - let mut exported_trace = rmp_serde::from_slice::(&data).map_err(TraceStoreError::ParseFailed)?; - + pub fn from_exported_trace( + mut exported_trace: ExportedTrace, + maybe_duration: &Option, + ) -> anyhow::Result { if exported_trace.version != CURRENT_TRACE_FORMAT_VERSION { bail!("unsupported trace version: {}", exported_trace.version); } diff --git a/testdata/large_trace.json b/testdata/large_trace.json new file mode 100644 index 00000000..418e102f --- /dev/null +++ b/testdata/large_trace.json @@ -0,0 +1,27756 @@ +{ + "version": 2, + "config": { + "trackedObjects": { + "apps/v1.Deployment": { + "podSpecTemplatePath": "/spec/template" + } + } + }, + "events": [ + { + "ts": 1710892138, + "applied_objs": [], + "deleted_objs": [] + }, + { + "ts": 1710892138, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-service" + }, + "name": "media-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-service", + "service": "media-service" + } + }, + "spec": { + "volumes": [ + { + "name": "media-service-config", + "configMap": { + "name": "media-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "MediaService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mongodb" + }, + "name": "user-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mongodb", + "service": "user-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mongodb-config", + "configMap": { + "name": "user-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mention-service" + }, + "name": "user-mention-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mention-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mention-service", + "service": "user-mention-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mention-service-config", + "configMap": { + "name": "user-mention-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mention-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserMentionService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mention-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "jaeger" + }, + "name": "jaeger", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "jaeger" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "jaeger", + "service": "jaeger" + } + }, + "spec": { + "volumes": [ + { + "name": "jaeger-config", + "configMap": { + "name": "jaeger", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "jaeger", + "image": "docker.io/jaegertracing/all-in-one:latest", + "ports": [ + { + "containerPort": 5775, + "protocol": "TCP" + }, + { + "containerPort": 6831, + "protocol": "TCP" + }, + { + "containerPort": 6832, + "protocol": "TCP" + }, + { + "containerPort": 5778, + "protocol": "TCP" + }, + { + "containerPort": 16686, + "protocol": "TCP" + }, + { + "containerPort": 14268, + "protocol": "TCP" + }, + { + "containerPort": 9411, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "COLLECTOR_ZIPKIN_HTTP_PORT", + "value": "9411" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "jaeger", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-mongodb" + }, + "name": "social-graph-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-mongodb", + "service": "social-graph-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-mongodb-config", + "configMap": { + "name": "social-graph-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-service" + }, + "name": "user-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-service", + "service": "user-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-service-config", + "configMap": { + "name": "user-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-frontend" + }, + "name": "media-frontend", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-frontend" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-frontend", + "service": "media-frontend" + } + }, + "spec": { + "volumes": [ + { + "name": "media-frontend-config", + "configMap": { + "name": "media-frontend", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/media-frontend/lua-scripts/* /lua-scripts/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "media-frontend", + "image": "docker.io/yg397/media-frontend:xenial", + "ports": [ + { + "containerPort": 8081, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-frontend-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-frontend", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-mongodb" + }, + "name": "user-timeline-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-mongodb", + "service": "user-timeline-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-mongodb-config", + "configMap": { + "name": "user-timeline-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-mongodb" + }, + "name": "media-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-mongodb", + "service": "media-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "media-mongodb-config", + "configMap": { + "name": "media-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "unique-id-service" + }, + "name": "unique-id-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "unique-id-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "unique-id-service", + "service": "unique-id-service" + } + }, + "spec": { + "volumes": [ + { + "name": "unique-id-service-config", + "configMap": { + "name": "unique-id-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "unique-id-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UniqueIdService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "unique-id-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-redis" + }, + "name": "user-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-redis", + "service": "user-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-redis-config", + "configMap": { + "name": "user-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-mongodb" + }, + "name": "post-storage-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-mongodb", + "service": "post-storage-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-mongodb-config", + "configMap": { + "name": "post-storage-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-memcached" + }, + "name": "user-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-memcached", + "service": "user-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "user-memcached-config", + "configMap": { + "name": "user-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-mongodb" + }, + "name": "url-shorten-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-mongodb", + "service": "url-shorten-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-mongodb-config", + "configMap": { + "name": "url-shorten-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-memcached" + }, + "name": "url-shorten-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-memcached", + "service": "url-shorten-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-memcached-config", + "configMap": { + "name": "url-shorten-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-redis" + }, + "name": "home-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-redis", + "service": "home-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-redis-config", + "configMap": { + "name": "home-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-memcached" + }, + "name": "media-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-memcached", + "service": "media-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "media-memcached-config", + "configMap": { + "name": "media-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-redis" + }, + "name": "social-graph-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-redis", + "service": "social-graph-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-redis-config", + "configMap": { + "name": "social-graph-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-memcached" + }, + "name": "post-storage-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-memcached", + "service": "post-storage-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-memcached-config", + "configMap": { + "name": "post-storage-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892561, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 3, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:03Z", + "lastTransitionTime": "2024-03-19T23:49:03Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:03Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"social-graph-service-5c8c6fd9dc\" has successfully progressed." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892686, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:03Z", + "lastTransitionTime": "2024-03-19T23:49:03Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:03Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"url-shorten-service-6d677b7868\" has successfully progressed." + } + ] + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 4, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:49:02Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + } + ] + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:49:02Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"home-timeline-service-85799bcbf8\" has successfully progressed." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892689, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:01Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:01Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"user-timeline-service-6f5f7b8c5d\" has successfully progressed." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892691, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 3, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:49:02Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"text-service-84dc55fcd7\" has successfully progressed." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892694, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-service" + }, + "name": "media-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-service", + "service": "media-service" + } + }, + "spec": { + "volumes": [ + { + "name": "media-service-config", + "configMap": { + "name": "media-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "MediaService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mongodb" + }, + "name": "user-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mongodb", + "service": "user-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mongodb-config", + "configMap": { + "name": "user-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mention-service" + }, + "name": "user-mention-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mention-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mention-service", + "service": "user-mention-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mention-service-config", + "configMap": { + "name": "user-mention-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mention-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserMentionService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mention-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "jaeger" + }, + "name": "jaeger", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "jaeger" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "jaeger", + "service": "jaeger" + } + }, + "spec": { + "volumes": [ + { + "name": "jaeger-config", + "configMap": { + "name": "jaeger", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "jaeger", + "image": "docker.io/jaegertracing/all-in-one:latest", + "ports": [ + { + "containerPort": 5775, + "protocol": "TCP" + }, + { + "containerPort": 6831, + "protocol": "TCP" + }, + { + "containerPort": 6832, + "protocol": "TCP" + }, + { + "containerPort": 5778, + "protocol": "TCP" + }, + { + "containerPort": 16686, + "protocol": "TCP" + }, + { + "containerPort": 14268, + "protocol": "TCP" + }, + { + "containerPort": 9411, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "COLLECTOR_ZIPKIN_HTTP_PORT", + "value": "9411" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "jaeger", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-mongodb" + }, + "name": "social-graph-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-mongodb", + "service": "social-graph-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-mongodb-config", + "configMap": { + "name": "social-graph-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-service" + }, + "name": "user-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-service", + "service": "user-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-service-config", + "configMap": { + "name": "user-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-frontend" + }, + "name": "media-frontend", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-frontend" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-frontend", + "service": "media-frontend" + } + }, + "spec": { + "volumes": [ + { + "name": "media-frontend-config", + "configMap": { + "name": "media-frontend", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/media-frontend/lua-scripts/* /lua-scripts/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "media-frontend", + "image": "docker.io/yg397/media-frontend:xenial", + "ports": [ + { + "containerPort": 8081, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-frontend-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-frontend", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-mongodb" + }, + "name": "user-timeline-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-mongodb", + "service": "user-timeline-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-mongodb-config", + "configMap": { + "name": "user-timeline-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-mongodb" + }, + "name": "media-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-mongodb", + "service": "media-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "media-mongodb-config", + "configMap": { + "name": "media-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "unique-id-service" + }, + "name": "unique-id-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "unique-id-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "unique-id-service", + "service": "unique-id-service" + } + }, + "spec": { + "volumes": [ + { + "name": "unique-id-service-config", + "configMap": { + "name": "unique-id-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "unique-id-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UniqueIdService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "unique-id-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-redis" + }, + "name": "user-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-redis", + "service": "user-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-redis-config", + "configMap": { + "name": "user-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-mongodb" + }, + "name": "post-storage-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-mongodb", + "service": "post-storage-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-mongodb-config", + "configMap": { + "name": "post-storage-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-memcached" + }, + "name": "user-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-memcached", + "service": "user-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "user-memcached-config", + "configMap": { + "name": "user-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-mongodb" + }, + "name": "url-shorten-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-mongodb", + "service": "url-shorten-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-mongodb-config", + "configMap": { + "name": "url-shorten-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-memcached" + }, + "name": "url-shorten-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-memcached", + "service": "url-shorten-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-memcached-config", + "configMap": { + "name": "url-shorten-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-redis" + }, + "name": "home-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-redis", + "service": "home-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-redis-config", + "configMap": { + "name": "home-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-memcached" + }, + "name": "media-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-memcached", + "service": "media-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "media-memcached-config", + "configMap": { + "name": "media-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-redis" + }, + "name": "social-graph-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-redis", + "service": "social-graph-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-redis-config", + "configMap": { + "name": "social-graph-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-memcached" + }, + "name": "post-storage-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-memcached", + "service": "post-storage-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-memcached-config", + "configMap": { + "name": "post-storage-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-service" + }, + "name": "media-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-service", + "service": "media-service" + } + }, + "spec": { + "volumes": [ + { + "name": "media-service-config", + "configMap": { + "name": "media-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "MediaService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mongodb" + }, + "name": "user-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mongodb", + "service": "user-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mongodb-config", + "configMap": { + "name": "user-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mention-service" + }, + "name": "user-mention-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mention-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mention-service", + "service": "user-mention-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mention-service-config", + "configMap": { + "name": "user-mention-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mention-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserMentionService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mention-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "jaeger" + }, + "name": "jaeger", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "jaeger" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "jaeger", + "service": "jaeger" + } + }, + "spec": { + "volumes": [ + { + "name": "jaeger-config", + "configMap": { + "name": "jaeger", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "jaeger", + "image": "docker.io/jaegertracing/all-in-one:latest", + "ports": [ + { + "containerPort": 5775, + "protocol": "TCP" + }, + { + "containerPort": 6831, + "protocol": "TCP" + }, + { + "containerPort": 6832, + "protocol": "TCP" + }, + { + "containerPort": 5778, + "protocol": "TCP" + }, + { + "containerPort": 16686, + "protocol": "TCP" + }, + { + "containerPort": 14268, + "protocol": "TCP" + }, + { + "containerPort": 9411, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "COLLECTOR_ZIPKIN_HTTP_PORT", + "value": "9411" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "jaeger", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-mongodb" + }, + "name": "social-graph-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-mongodb", + "service": "social-graph-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-mongodb-config", + "configMap": { + "name": "social-graph-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-service" + }, + "name": "user-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-service", + "service": "user-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-service-config", + "configMap": { + "name": "user-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-frontend" + }, + "name": "media-frontend", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-frontend" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-frontend", + "service": "media-frontend" + } + }, + "spec": { + "volumes": [ + { + "name": "media-frontend-config", + "configMap": { + "name": "media-frontend", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/media-frontend/lua-scripts/* /lua-scripts/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "media-frontend", + "image": "docker.io/yg397/media-frontend:xenial", + "ports": [ + { + "containerPort": 8081, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-frontend-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-frontend", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-mongodb" + }, + "name": "user-timeline-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-mongodb", + "service": "user-timeline-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-mongodb-config", + "configMap": { + "name": "user-timeline-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-mongodb" + }, + "name": "media-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-mongodb", + "service": "media-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "media-mongodb-config", + "configMap": { + "name": "media-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "unique-id-service" + }, + "name": "unique-id-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "unique-id-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "unique-id-service", + "service": "unique-id-service" + } + }, + "spec": { + "volumes": [ + { + "name": "unique-id-service-config", + "configMap": { + "name": "unique-id-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "unique-id-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UniqueIdService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "unique-id-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-redis" + }, + "name": "user-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-redis", + "service": "user-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-redis-config", + "configMap": { + "name": "user-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-mongodb" + }, + "name": "post-storage-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-mongodb", + "service": "post-storage-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-mongodb-config", + "configMap": { + "name": "post-storage-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-memcached" + }, + "name": "user-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-memcached", + "service": "user-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "user-memcached-config", + "configMap": { + "name": "user-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-mongodb" + }, + "name": "url-shorten-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-mongodb", + "service": "url-shorten-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-mongodb-config", + "configMap": { + "name": "url-shorten-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-memcached" + }, + "name": "url-shorten-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-memcached", + "service": "url-shorten-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-memcached-config", + "configMap": { + "name": "url-shorten-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-redis" + }, + "name": "home-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-redis", + "service": "home-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-redis-config", + "configMap": { + "name": "home-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-memcached" + }, + "name": "media-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-memcached", + "service": "media-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "media-memcached-config", + "configMap": { + "name": "media-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-redis" + }, + "name": "social-graph-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-redis", + "service": "social-graph-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-redis-config", + "configMap": { + "name": "social-graph-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-memcached" + }, + "name": "post-storage-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-memcached", + "service": "post-storage-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-memcached-config", + "configMap": { + "name": "post-storage-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-service" + }, + "name": "media-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-service", + "service": "media-service" + } + }, + "spec": { + "volumes": [ + { + "name": "media-service-config", + "configMap": { + "name": "media-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "MediaService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mongodb" + }, + "name": "user-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mongodb", + "service": "user-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mongodb-config", + "configMap": { + "name": "user-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mention-service" + }, + "name": "user-mention-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mention-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mention-service", + "service": "user-mention-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mention-service-config", + "configMap": { + "name": "user-mention-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mention-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserMentionService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mention-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "jaeger" + }, + "name": "jaeger", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "jaeger" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "jaeger", + "service": "jaeger" + } + }, + "spec": { + "volumes": [ + { + "name": "jaeger-config", + "configMap": { + "name": "jaeger", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "jaeger", + "image": "docker.io/jaegertracing/all-in-one:latest", + "ports": [ + { + "containerPort": 5775, + "protocol": "TCP" + }, + { + "containerPort": 6831, + "protocol": "TCP" + }, + { + "containerPort": 6832, + "protocol": "TCP" + }, + { + "containerPort": 5778, + "protocol": "TCP" + }, + { + "containerPort": 16686, + "protocol": "TCP" + }, + { + "containerPort": 14268, + "protocol": "TCP" + }, + { + "containerPort": 9411, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "COLLECTOR_ZIPKIN_HTTP_PORT", + "value": "9411" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "jaeger", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-mongodb" + }, + "name": "social-graph-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-mongodb", + "service": "social-graph-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-mongodb-config", + "configMap": { + "name": "social-graph-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-service" + }, + "name": "user-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-service", + "service": "user-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-service-config", + "configMap": { + "name": "user-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-frontend" + }, + "name": "media-frontend", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-frontend" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-frontend", + "service": "media-frontend" + } + }, + "spec": { + "volumes": [ + { + "name": "media-frontend-config", + "configMap": { + "name": "media-frontend", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/media-frontend/lua-scripts/* /lua-scripts/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "media-frontend", + "image": "docker.io/yg397/media-frontend:xenial", + "ports": [ + { + "containerPort": 8081, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-frontend-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-frontend", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-mongodb" + }, + "name": "user-timeline-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-mongodb", + "service": "user-timeline-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-mongodb-config", + "configMap": { + "name": "user-timeline-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-mongodb" + }, + "name": "media-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-mongodb", + "service": "media-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "media-mongodb-config", + "configMap": { + "name": "media-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "unique-id-service" + }, + "name": "unique-id-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "unique-id-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "unique-id-service", + "service": "unique-id-service" + } + }, + "spec": { + "volumes": [ + { + "name": "unique-id-service-config", + "configMap": { + "name": "unique-id-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "unique-id-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UniqueIdService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "unique-id-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-redis" + }, + "name": "user-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-redis", + "service": "user-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-redis-config", + "configMap": { + "name": "user-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-mongodb" + }, + "name": "post-storage-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-mongodb", + "service": "post-storage-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-mongodb-config", + "configMap": { + "name": "post-storage-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-memcached" + }, + "name": "user-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-memcached", + "service": "user-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "user-memcached-config", + "configMap": { + "name": "user-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-mongodb" + }, + "name": "url-shorten-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-mongodb", + "service": "url-shorten-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-mongodb-config", + "configMap": { + "name": "url-shorten-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-memcached" + }, + "name": "url-shorten-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-memcached", + "service": "url-shorten-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-memcached-config", + "configMap": { + "name": "url-shorten-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-redis" + }, + "name": "home-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-redis", + "service": "home-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-redis-config", + "configMap": { + "name": "home-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-memcached" + }, + "name": "media-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-memcached", + "service": "media-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "media-memcached-config", + "configMap": { + "name": "media-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-redis" + }, + "name": "social-graph-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-redis", + "service": "social-graph-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-redis-config", + "configMap": { + "name": "social-graph-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-memcached" + }, + "name": "post-storage-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-memcached", + "service": "post-storage-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-memcached-config", + "configMap": { + "name": "post-storage-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-service" + }, + "name": "media-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-service", + "service": "media-service" + } + }, + "spec": { + "volumes": [ + { + "name": "media-service-config", + "configMap": { + "name": "media-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "MediaService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mongodb" + }, + "name": "user-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mongodb", + "service": "user-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mongodb-config", + "configMap": { + "name": "user-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mention-service" + }, + "name": "user-mention-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mention-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mention-service", + "service": "user-mention-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mention-service-config", + "configMap": { + "name": "user-mention-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mention-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserMentionService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mention-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "jaeger" + }, + "name": "jaeger", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "jaeger" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "jaeger", + "service": "jaeger" + } + }, + "spec": { + "volumes": [ + { + "name": "jaeger-config", + "configMap": { + "name": "jaeger", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "jaeger", + "image": "docker.io/jaegertracing/all-in-one:latest", + "ports": [ + { + "containerPort": 5775, + "protocol": "TCP" + }, + { + "containerPort": 6831, + "protocol": "TCP" + }, + { + "containerPort": 6832, + "protocol": "TCP" + }, + { + "containerPort": 5778, + "protocol": "TCP" + }, + { + "containerPort": 16686, + "protocol": "TCP" + }, + { + "containerPort": 14268, + "protocol": "TCP" + }, + { + "containerPort": 9411, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "COLLECTOR_ZIPKIN_HTTP_PORT", + "value": "9411" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "jaeger", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-mongodb" + }, + "name": "social-graph-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-mongodb", + "service": "social-graph-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-mongodb-config", + "configMap": { + "name": "social-graph-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-service" + }, + "name": "user-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-service", + "service": "user-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-service-config", + "configMap": { + "name": "user-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-frontend" + }, + "name": "media-frontend", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-frontend" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-frontend", + "service": "media-frontend" + } + }, + "spec": { + "volumes": [ + { + "name": "media-frontend-config", + "configMap": { + "name": "media-frontend", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/media-frontend/lua-scripts/* /lua-scripts/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "media-frontend", + "image": "docker.io/yg397/media-frontend:xenial", + "ports": [ + { + "containerPort": 8081, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-frontend-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-frontend", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-mongodb" + }, + "name": "user-timeline-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-mongodb", + "service": "user-timeline-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-mongodb-config", + "configMap": { + "name": "user-timeline-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-mongodb" + }, + "name": "media-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-mongodb", + "service": "media-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "media-mongodb-config", + "configMap": { + "name": "media-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "unique-id-service" + }, + "name": "unique-id-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "unique-id-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "unique-id-service", + "service": "unique-id-service" + } + }, + "spec": { + "volumes": [ + { + "name": "unique-id-service-config", + "configMap": { + "name": "unique-id-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "unique-id-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UniqueIdService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "unique-id-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-redis" + }, + "name": "user-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-redis", + "service": "user-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-redis-config", + "configMap": { + "name": "user-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-mongodb" + }, + "name": "post-storage-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-mongodb", + "service": "post-storage-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-mongodb-config", + "configMap": { + "name": "post-storage-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-memcached" + }, + "name": "user-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-memcached", + "service": "user-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "user-memcached-config", + "configMap": { + "name": "user-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-mongodb" + }, + "name": "url-shorten-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-mongodb", + "service": "url-shorten-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-mongodb-config", + "configMap": { + "name": "url-shorten-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-memcached" + }, + "name": "url-shorten-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-memcached", + "service": "url-shorten-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-memcached-config", + "configMap": { + "name": "url-shorten-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-redis" + }, + "name": "home-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-redis", + "service": "home-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-redis-config", + "configMap": { + "name": "home-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-memcached" + }, + "name": "media-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-memcached", + "service": "media-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "media-memcached-config", + "configMap": { + "name": "media-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-redis" + }, + "name": "social-graph-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-redis", + "service": "social-graph-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-redis-config", + "configMap": { + "name": "social-graph-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-memcached" + }, + "name": "post-storage-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-memcached", + "service": "post-storage-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-memcached-config", + "configMap": { + "name": "post-storage-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:10Z", + "lastTransitionTime": "2024-03-19T23:49:10Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:10Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"nginx-thrift-6d87b5777c\" has successfully progressed." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892701, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 6, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 4, + "updatedReplicas": 4, + "readyReplicas": 2, + "availableReplicas": 2, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892721, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 5, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 3, + "updatedReplicas": 3, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"text-service-84dc55fcd7\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:11Z", + "lastTransitionTime": "2024-03-19T23:58:11Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892906, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 3, + "updatedReplicas": 3, + "readyReplicas": 3, + "availableReplicas": 3, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:03Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"social-graph-service-5c8c6fd9dc\" has successfully progressed." + }, + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:56:02Z", + "lastTransitionTime": "2024-03-19T23:56:02Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892927, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 3, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 1, + "replicas": 1, + "updatedReplicas": 1, + "readyReplicas": 1, + "availableReplicas": 1, + "conditions": [ + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:04Z", + "lastTransitionTime": "2024-03-19T23:49:04Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + }, + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:04Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"post-storage-service-5685dffb9\" has successfully progressed." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892935, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 4, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 2, + "updatedReplicas": 2, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 1, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:10Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"nginx-thrift-6d87b5777c\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:14Z", + "lastTransitionTime": "2024-03-19T23:58:14Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892950, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 8, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 4, + "updatedReplicas": 4, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 3, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:10Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"nginx-thrift-6d87b5777c\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:14Z", + "lastTransitionTime": "2024-03-19T23:58:14Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892957, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 5, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 3, + "updatedReplicas": 3, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:04Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"post-storage-service-5685dffb9\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-20T00:02:07Z", + "lastTransitionTime": "2024-03-20T00:02:07Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710892965, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 10, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 4, + "replicas": 8, + "updatedReplicas": 8, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 7, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:10Z", + "lastTransitionTime": "2024-03-19T23:49:01Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"nginx-thrift-6d87b5777c\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:14Z", + "lastTransitionTime": "2024-03-19T23:58:14Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893091, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 2, + "updatedReplicas": 2, + "readyReplicas": 2, + "availableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:03Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"url-shorten-service-6d677b7868\" has successfully progressed." + }, + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-19T23:58:07Z", + "lastTransitionTime": "2024-03-19T23:58:07Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893124, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 2, + "updatedReplicas": 2, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 1, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:01Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"user-timeline-service-6f5f7b8c5d\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:09Z", + "lastTransitionTime": "2024-03-19T23:58:09Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893126, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 5, + "updatedReplicas": 5, + "readyReplicas": 1, + "availableReplicas": 1, + "unavailableReplicas": 4, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:49:00Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"text-service-84dc55fcd7\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:11Z", + "lastTransitionTime": "2024-03-19T23:58:11Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893138, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893273, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893274, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893275, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893276, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893276, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893277, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893278, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893279, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893280, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893281, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893282, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893283, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893284, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893285, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893286, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893287, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893288, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893288, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893289, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893290, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893291, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893292, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893293, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893294, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893295, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893295, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893296, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893297, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893298, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893299, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893300, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893301, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893302, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893303, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893304, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893305, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893306, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893307, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893308, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893309, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893310, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893311, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893312, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893313, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893314, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893315, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893316, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893317, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893318, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893319, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893320, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893321, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893322, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893323, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893324, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893325, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893326, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893327, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893328, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893329, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893330, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893331, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893332, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893333, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893334, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893335, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893336, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893337, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 2, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 3, + "replicas": 6, + "updatedReplicas": 6, + "readyReplicas": 4, + "availableReplicas": 4, + "unavailableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"compose-post-service-84d56c9dcb\" has successfully progressed." + }, + { + "type": "Available", + "status": "False", + "lastUpdateTime": "2024-03-19T23:58:06Z", + "lastTransitionTime": "2024-03-19T23:58:06Z", + "reason": "MinimumReplicasUnavailable", + "message": "Deployment does not have minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893402, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": { + "observedGeneration": 2, + "replicas": 2, + "updatedReplicas": 2, + "readyReplicas": 2, + "availableReplicas": 2, + "conditions": [ + { + "type": "Progressing", + "status": "True", + "lastUpdateTime": "2024-03-19T23:49:02Z", + "lastTransitionTime": "2024-03-19T23:48:58Z", + "reason": "NewReplicaSetAvailable", + "message": "ReplicaSet \"home-timeline-service-85799bcbf8\" has successfully progressed." + }, + { + "type": "Available", + "status": "True", + "lastUpdateTime": "2024-03-20T00:02:18Z", + "lastTransitionTime": "2024-03-20T00:02:18Z", + "reason": "MinimumReplicasAvailable", + "message": "Deployment has minimum availability." + } + ] + } + } + ], + "deleted_objs": [] + }, + { + "ts": 1710893403, + "applied_objs": [ + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-service" + }, + "name": "user-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-service", + "service": "user-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-service-config", + "configMap": { + "name": "user-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-service" + }, + "name": "media-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-service", + "service": "media-service" + } + }, + "spec": { + "volumes": [ + { + "name": "media-service-config", + "configMap": { + "name": "media-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "MediaService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-service" + }, + "name": "home-timeline-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-service", + "service": "home-timeline-service" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-service-config", + "configMap": { + "name": "home-timeline-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "HomeTimelineService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "home-timeline-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mongodb" + }, + "name": "user-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mongodb", + "service": "user-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mongodb-config", + "configMap": { + "name": "user-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-mention-service" + }, + "name": "user-mention-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-mention-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-mention-service", + "service": "user-mention-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-mention-service-config", + "configMap": { + "name": "user-mention-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-mention-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserMentionService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-mention-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-mention-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "jaeger" + }, + "name": "jaeger", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "jaeger" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "jaeger", + "service": "jaeger" + } + }, + "spec": { + "volumes": [ + { + "name": "jaeger-config", + "configMap": { + "name": "jaeger", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "jaeger", + "image": "docker.io/jaegertracing/all-in-one:latest", + "ports": [ + { + "containerPort": 5775, + "protocol": "TCP" + }, + { + "containerPort": 6831, + "protocol": "TCP" + }, + { + "containerPort": 6832, + "protocol": "TCP" + }, + { + "containerPort": 5778, + "protocol": "TCP" + }, + { + "containerPort": 16686, + "protocol": "TCP" + }, + { + "containerPort": 14268, + "protocol": "TCP" + }, + { + "containerPort": 9411, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "COLLECTOR_ZIPKIN_HTTP_PORT", + "value": "9411" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "jaeger-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "jaeger", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "compose-post-service" + }, + "name": "compose-post-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "compose-post-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "compose-post-service", + "service": "compose-post-service" + } + }, + "spec": { + "volumes": [ + { + "name": "compose-post-service-config", + "configMap": { + "name": "compose-post-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "compose-post-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "ComposePostService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "compose-post-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "compose-post-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-mongodb" + }, + "name": "social-graph-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-mongodb", + "service": "social-graph-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-mongodb-config", + "configMap": { + "name": "social-graph-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-service" + }, + "name": "user-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-service", + "service": "user-service" + } + }, + "spec": { + "volumes": [ + { + "name": "user-service-config", + "configMap": { + "name": "user-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UserService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-frontend" + }, + "name": "media-frontend", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-frontend" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-frontend", + "service": "media-frontend" + } + }, + "spec": { + "volumes": [ + { + "name": "media-frontend-config", + "configMap": { + "name": "media-frontend", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/media-frontend/lua-scripts/* /lua-scripts/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "media-frontend", + "image": "docker.io/yg397/media-frontend:xenial", + "ports": [ + { + "containerPort": 8081, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-frontend-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-frontend-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-frontend", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-mongodb" + }, + "name": "user-timeline-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-mongodb", + "service": "user-timeline-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-mongodb-config", + "configMap": { + "name": "user-timeline-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-mongodb" + }, + "name": "media-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-mongodb", + "service": "media-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "media-mongodb-config", + "configMap": { + "name": "media-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "unique-id-service" + }, + "name": "unique-id-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "unique-id-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "unique-id-service", + "service": "unique-id-service" + } + }, + "spec": { + "volumes": [ + { + "name": "unique-id-service-config", + "configMap": { + "name": "unique-id-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "unique-id-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UniqueIdService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "unique-id-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "unique-id-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-timeline-redis" + }, + "name": "user-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-timeline-redis", + "service": "user-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "user-timeline-redis-config", + "configMap": { + "name": "user-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-mongodb" + }, + "name": "post-storage-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-mongodb", + "service": "post-storage-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-mongodb-config", + "configMap": { + "name": "post-storage-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "user-memcached" + }, + "name": "user-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "user-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "user-memcached", + "service": "user-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "user-memcached-config", + "configMap": { + "name": "user-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "user-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "user-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "user-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "text-service" + }, + "name": "text-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "text-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "text-service", + "service": "text-service" + } + }, + "spec": { + "volumes": [ + { + "name": "text-service-config", + "configMap": { + "name": "text-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "text-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "TextService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "text-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "text-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-mongodb" + }, + "name": "url-shorten-mongodb", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-mongodb" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-mongodb", + "service": "url-shorten-mongodb" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-mongodb-config", + "configMap": { + "name": "url-shorten-mongodb", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-mongodb", + "image": "docker.io/library/mongo:4.4.6", + "args": [ + "--config", + "/social-network-microservices/config/mongod.conf" + ], + "ports": [ + { + "containerPort": 27017, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-mongodb-config", + "mountPath": "/social-network-microservices/config/mongod.conf", + "subPath": "mongod.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-mongodb", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-service" + }, + "name": "social-graph-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-service", + "service": "social-graph-service" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-service-config", + "configMap": { + "name": "social-graph-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "SocialGraphService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "social-graph-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-service" + }, + "name": "url-shorten-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-service", + "service": "url-shorten-service" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-service-config", + "configMap": { + "name": "url-shorten-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "UrlShortenService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "url-shorten-memcached" + }, + "name": "url-shorten-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "url-shorten-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "url-shorten-memcached", + "service": "url-shorten-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "url-shorten-memcached-config", + "configMap": { + "name": "url-shorten-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "url-shorten-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "url-shorten-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "url-shorten-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "home-timeline-redis" + }, + "name": "home-timeline-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "home-timeline-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "home-timeline-redis", + "service": "home-timeline-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "home-timeline-redis-config", + "configMap": { + "name": "home-timeline-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "home-timeline-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "home-timeline-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "home-timeline-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "media-memcached" + }, + "name": "media-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "media-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "media-memcached", + "service": "media-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "media-memcached-config", + "configMap": { + "name": "media-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "media-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "media-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "media-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "social-graph-redis" + }, + "name": "social-graph-redis", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "social-graph-redis" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "social-graph-redis", + "service": "social-graph-redis" + } + }, + "spec": { + "volumes": [ + { + "name": "social-graph-redis-config", + "configMap": { + "name": "social-graph-redis", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "social-graph-redis", + "image": "docker.io/library/redis:6.2.4", + "args": [ + "/social-network-microservices/config/redis.conf" + ], + "ports": [ + { + "containerPort": 6379, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "social-graph-redis-config", + "mountPath": "/social-network-microservices/config/redis.conf", + "subPath": "redis.conf" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "social-graph-redis", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-memcached" + }, + "name": "post-storage-memcached", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-memcached" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-memcached", + "service": "post-storage-memcached" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-memcached-config", + "configMap": { + "name": "post-storage-memcached", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-memcached", + "image": "docker.io/library/memcached:1.6.7", + "ports": [ + { + "containerPort": 11211, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-memcached-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-memcached", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "post-storage-service" + }, + "name": "post-storage-service", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "post-storage-service" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "post-storage-service", + "service": "post-storage-service" + } + }, + "spec": { + "volumes": [ + { + "name": "post-storage-service-config", + "configMap": { + "name": "post-storage-service", + "defaultMode": 420 + } + } + ], + "containers": [ + { + "name": "post-storage-service", + "image": "docker.io/deathstarbench/social-network-microservices:latest", + "command": [ + "PostStorageService" + ], + "ports": [ + { + "containerPort": 9090, + "protocol": "TCP" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/jaeger-config.yml", + "subPath": "jaeger-config.yml" + }, + { + "name": "post-storage-service-config", + "mountPath": "/social-network-microservices/config/service-config.json", + "subPath": "service-config.json" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "post-storage-service", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "annotations": { + "meta.helm.sh/release-name": "dsb-social-network", + "meta.helm.sh/release-namespace": "dsb" + }, + "labels": { + "app.kubernetes.io/managed-by": "Helm", + "service": "nginx-thrift" + }, + "name": "nginx-thrift", + "namespace": "dsb" + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "service": "nginx-thrift" + } + }, + "template": { + "metadata": { + "creationTimestamp": null, + "labels": { + "app": "nginx-thrift", + "service": "nginx-thrift" + } + }, + "spec": { + "volumes": [ + { + "name": "nginx-thrift-config", + "configMap": { + "name": "nginx-thrift", + "defaultMode": 420 + } + }, + { + "name": "lua-scripts", + "emptyDir": {} + }, + { + "name": "pages", + "emptyDir": {} + }, + { + "name": "gen-lua", + "emptyDir": {} + }, + { + "name": "lua-thrift", + "emptyDir": {} + }, + { + "name": "keys", + "emptyDir": {} + } + ], + "initContainers": [ + { + "name": "alpine-container", + "image": "docker.io/alpine/git:latest", + "command": [ + "/bin/sh" + ], + "args": [ + "-c", + "git clone https://github.com/delimitrou/DeathStarBench.git /DeathStarBench && cp -r /DeathStarBench/socialNetwork/gen-lua/* /gen-lua/ && cp -r /DeathStarBench/socialNetwork/docker/openresty-thrift/lua-thrift/* /lua-thrift/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/lua-scripts/* /lua-scripts/ && cp -r /DeathStarBench/socialNetwork/nginx-web-server/pages/* /pages/ && cp /DeathStarBench/socialNetwork/keys/* /keys/" + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "lua-scripts", + "mountPath": "/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/lua-thrift" + }, + { + "name": "pages", + "mountPath": "/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "containers": [ + { + "name": "nginx-thrift", + "image": "docker.io/yg397/openresty-thrift:xenial", + "ports": [ + { + "containerPort": 8080, + "protocol": "TCP" + } + ], + "env": [ + { + "name": "fqdn_suffix", + "value": ".dsb.svc.cluster.local" + } + ], + "resources": { + "requests": { + "cpu": "1", + "memory": "1Gi" + } + }, + "volumeMounts": [ + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/jaeger-config.json", + "subPath": "jaeger-config.json" + }, + { + "name": "nginx-thrift-config", + "mountPath": "/usr/local/openresty/nginx/conf/nginx.conf", + "subPath": "nginx.conf" + }, + { + "name": "lua-scripts", + "mountPath": "/usr/local/openresty/nginx/lua-scripts" + }, + { + "name": "lua-thrift", + "mountPath": "/usr/local/openresty/lualib/thrift" + }, + { + "name": "pages", + "mountPath": "/usr/local/openresty/nginx/pages" + }, + { + "name": "gen-lua", + "mountPath": "/gen-lua" + }, + { + "name": "keys", + "mountPath": "/keys" + } + ], + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "imagePullPolicy": "IfNotPresent" + } + ], + "restartPolicy": "Always", + "terminationGracePeriodSeconds": 30, + "dnsPolicy": "ClusterFirst", + "securityContext": {}, + "hostname": "nginx-thrift", + "schedulerName": "default-scheduler" + } + }, + "strategy": { + "type": "RollingUpdate", + "rollingUpdate": { + "maxUnavailable": "25%", + "maxSurge": "25%" + } + }, + "revisionHistoryLimit": 10, + "progressDeadlineSeconds": 600 + }, + "status": {} + } + ], + "deleted_objs": [] + } + ], + "index": { + "apps/v1.Deployment": { + "dsb/jaeger": 17146943970771433564, + "dsb/user-timeline-service": 15858556048943196710, + "dsb/social-graph-redis": 12158469555749306026, + "dsb/nginx-thrift": 8615945982318756151, + "dsb/compose-post-service": 10850747852008766550, + "dsb/post-storage-mongodb": 7778541974297070137, + "dsb/text-service": 9998312074885982535, + "dsb/post-storage-service": 14312611903795797094, + "dsb/user-timeline-redis": 10190065805547192910, + "dsb/url-shorten-memcached": 14288845909204435286, + "dsb/user-service": 15504870948845481110, + "dsb/media-frontend": 7313711842011631658, + "dsb/media-mongodb": 11819964129135742480, + "dsb/url-shorten-service": 11233060487132515767, + "dsb/home-timeline-service": 3881408507206153753, + "dsb/home-timeline-redis": 14686845312534273304, + "dsb/social-graph-service": 5457453258285373624, + "dsb/user-mongodb": 4102046683051864152, + "dsb/media-memcached": 5910380575206968127, + "dsb/social-graph-mongodb": 4456994570448124250, + "dsb/user-memcached": 16918237569911108211, + "dsb/post-storage-memcached": 12092145826100651574, + "dsb/unique-id-service": 15548754659508104991, + "dsb/user-mention-service": 10545933738618722057, + "dsb/user-timeline-mongodb": 12942061514904106755, + "dsb/media-service": 1936906990887670479, + "dsb/url-shorten-mongodb": 16304822808205355575 + } + }, + "pod_lifecycles": {} +} diff --git a/sk-driver/src/tests/data/trace.json b/testdata/trace.json similarity index 100% rename from sk-driver/src/tests/data/trace.json rename to testdata/trace.json