@patternfly/quickstarts 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +546 -0
- package/dist/ConsoleInternal/components/markdown-view.d.ts +19 -0
- package/dist/ConsoleInternal/components/utils/camel-case-wrap.d.ts +6 -0
- package/dist/ConsoleInternal/components/utils/index.d.ts +3 -0
- package/dist/ConsoleInternal/components/utils/router.d.ts +9 -0
- package/dist/ConsoleInternal/components/utils/status-box.d.ts +20 -0
- package/dist/ConsoleInternal/module/k8s/types.d.ts +42 -0
- package/dist/ConsoleShared/index.d.ts +1 -0
- package/dist/ConsoleShared/src/components/index.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/MarkdownCopyClipboard.d.ts +13 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-extension.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.d.ts +6 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/admonition-extension.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/code-extension.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/const.d.ts +5 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/index.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-extensions/utils.d.ts +1 -0
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/MarkdownHighlightExtension.d.ts +7 -0
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/highlight-consts.d.ts +4 -0
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/index.d.ts +1 -0
- package/dist/ConsoleShared/src/components/modal/Modal.d.ts +9 -0
- package/dist/ConsoleShared/src/components/modal/index.d.ts +1 -0
- package/dist/ConsoleShared/src/components/popper/Portal.d.ts +8 -0
- package/dist/ConsoleShared/src/components/popper/SimplePopper.d.ts +6 -0
- package/dist/ConsoleShared/src/components/popper/index.d.ts +2 -0
- package/dist/ConsoleShared/src/components/spotlight/InteractiveSpotlight.d.ts +7 -0
- package/dist/ConsoleShared/src/components/spotlight/Spotlight.d.ts +7 -0
- package/dist/ConsoleShared/src/components/spotlight/StaticSpotlight.d.ts +7 -0
- package/dist/ConsoleShared/src/components/spotlight/index.d.ts +1 -0
- package/dist/ConsoleShared/src/components/status/GenericStatus.d.ts +12 -0
- package/dist/ConsoleShared/src/components/status/NotStartedIcon.d.ts +3 -0
- package/dist/ConsoleShared/src/components/status/PopoverStatus.d.ts +13 -0
- package/dist/ConsoleShared/src/components/status/Status.d.ts +11 -0
- package/dist/ConsoleShared/src/components/status/StatusIconAndText.d.ts +8 -0
- package/dist/ConsoleShared/src/components/status/icons.d.ts +9 -0
- package/dist/ConsoleShared/src/components/status/index.d.ts +1 -0
- package/dist/ConsoleShared/src/components/status/statuses.d.ts +5 -0
- package/dist/ConsoleShared/src/components/status/types.d.ts +9 -0
- package/dist/ConsoleShared/src/components/utils/FallbackImg.d.ts +9 -0
- package/dist/ConsoleShared/src/components/utils/index.d.ts +1 -0
- package/dist/ConsoleShared/src/constants/index.d.ts +1 -0
- package/dist/ConsoleShared/src/constants/ui.d.ts +1 -0
- package/dist/ConsoleShared/src/hooks/index.d.ts +6 -0
- package/dist/ConsoleShared/src/hooks/scroll.d.ts +8 -0
- package/dist/ConsoleShared/src/hooks/useBoundingClientRect.d.ts +3 -0
- package/dist/ConsoleShared/src/hooks/useEventListener.d.ts +1 -0
- package/dist/ConsoleShared/src/hooks/useForceRender.d.ts +4 -0
- package/dist/ConsoleShared/src/hooks/useResizeObserver.d.ts +1 -0
- package/dist/ConsoleShared/src/hooks/useScrollShadows.d.ts +7 -0
- package/dist/ConsoleShared/src/index.d.ts +4 -0
- package/dist/ConsoleShared/src/utils/index.d.ts +1 -0
- package/dist/ConsoleShared/src/utils/useCombineRefs.d.ts +2 -0
- package/dist/HelpTopicDrawer.d.ts +33 -0
- package/dist/HelpTopicPanelContent.d.ts +11 -0
- package/dist/QuickStartCatalogPage.d.ts +14 -0
- package/dist/QuickStartCloseModal.d.ts +8 -0
- package/dist/QuickStartController.d.ts +10 -0
- package/dist/QuickStartDrawer.d.ts +62 -0
- package/dist/QuickStartMarkdownView.d.ts +9 -0
- package/dist/QuickStartPanelContent.d.ts +15 -0
- package/dist/catalog/Catalog/QuickStartCatalogHeader.d.ts +6 -0
- package/dist/catalog/Catalog/QuickStartCatalogSection.d.ts +5 -0
- package/dist/catalog/Catalog/QuickStartCatalogToolbar.d.ts +5 -0
- package/dist/catalog/Catalog/index.d.ts +3 -0
- package/dist/catalog/QuickStartCatalog.d.ts +8 -0
- package/dist/catalog/QuickStartTile.d.ts +14 -0
- package/dist/catalog/QuickStartTileDescription.d.ts +8 -0
- package/dist/catalog/QuickStartTileFooter.d.ts +8 -0
- package/dist/catalog/QuickStartTileFooterExternal.d.ts +8 -0
- package/dist/catalog/QuickStartTileHeader.d.ts +24 -0
- package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +10 -0
- package/dist/catalog/Toolbar/QuickStartCatalogFilterItems.d.ts +31 -0
- package/dist/catalog/index.d.ts +9 -0
- package/dist/controller/QuickStartConclusion.d.ts +12 -0
- package/dist/controller/QuickStartContent.d.ts +14 -0
- package/dist/controller/QuickStartFooter.d.ts +14 -0
- package/dist/controller/QuickStartIntroduction.d.ts +12 -0
- package/dist/controller/QuickStartTaskHeader.d.ts +15 -0
- package/dist/controller/QuickStartTaskHeaderList.d.ts +10 -0
- package/dist/controller/QuickStartTaskReview.d.ts +10 -0
- package/dist/controller/QuickStartTasks.d.ts +12 -0
- package/dist/data/mocks/json/explore-pipeline-quickstart.d.ts +2 -0
- package/dist/data/mocks/json/explore-serverless-quickstart.d.ts +2 -0
- package/dist/data/mocks/json/monitor-sampleapp-quickstart.d.ts +2 -0
- package/dist/data/mocks/json/tour-icons.d.ts +2 -0
- package/dist/data/quick-start-test-data.d.ts +2 -0
- package/dist/data/test-utils.d.ts +8 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.es.js +2593 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.js +2695 -0
- package/dist/index.js.map +1 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/design-guidelines.md +105 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/card-elements copy.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/card-elements.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/catalog-elements.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/check-your-work.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/introduction-screen.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/mixed-catalog.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/prerequisites.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/qs-context.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/side-panel-elements.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/side-panel-resized.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/side-panel.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/task-no.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/task-yes.png +0 -0
- package/dist/patternfly-docs/quick-starts/design-guidelines/img/task.png +0 -0
- package/dist/patternfly-docs/quick-starts/examples/Basic.jsx +73 -0
- package/dist/patternfly-docs/quick-starts/examples/HelpTopic.jsx +51 -0
- package/dist/patternfly-docs/quick-starts/examples/about.md +84 -0
- package/dist/patternfly-docs/quick-starts/examples/basic.md +29 -0
- package/dist/patternfly-docs/quick-starts/examples/example-data/example-help-topics.js +173 -0
- package/dist/patternfly-docs/quick-starts/examples/example-data/example-quickstarts.js +215 -0
- package/dist/patternfly-docs/quick-starts/examples/example-data/index.js +15 -0
- package/dist/patternfly-docs/quick-starts/examples/help-topics.md +28 -0
- package/dist/patternfly-docs/quick-starts/examples/img/catalog.png +0 -0
- package/dist/patternfly-docs/quick-starts/examples/img/help-topic.png +0 -0
- package/dist/patternfly-docs/quick-starts/examples/img/side-panel.png +0 -0
- package/dist/patternfly-global.css +1302 -0
- package/dist/patternfly-nested.css +11812 -0
- package/dist/quickstarts-base.css +1219 -0
- package/dist/quickstarts-full.es.js +31861 -0
- package/dist/quickstarts-full.es.js.map +1 -0
- package/dist/quickstarts-standalone.css +868 -0
- package/dist/quickstarts-standalone.min.css +4 -0
- package/dist/quickstarts-vendor.css +165 -0
- package/dist/quickstarts.css +1383 -0
- package/dist/quickstarts.min.css +1 -0
- package/dist/styles/patternfly-global-entry.d.ts +1 -0
- package/dist/styles/patternfly-nested-entry.d.ts +1 -0
- package/dist/styles/quickstarts-standalone-entry.d.ts +1 -0
- package/dist/styles/vendor-entry.d.ts +1 -0
- package/dist/utils/PluralResolver.d.ts +16 -0
- package/dist/utils/asciidoc-procedure-parser.d.ts +12 -0
- package/dist/utils/const.d.ts +6 -0
- package/dist/utils/help-topic-context.d.ts +23 -0
- package/dist/utils/help-topic-types.d.ts +13 -0
- package/dist/utils/quick-start-context.d.ts +81 -0
- package/dist/utils/quick-start-types.d.ts +60 -0
- package/dist/utils/quick-start-utils.d.ts +10 -0
- package/dist/utils/useLocalStorage.d.ts +1 -0
- package/dist/vendor.js +2 -0
- package/dist/vendor.js.map +1 -0
- package/package.json +105 -0
- package/src/ConsoleInternal/components/_icon-and-text.scss +14 -0
- package/src/ConsoleInternal/components/_markdown-view.scss +19 -0
- package/src/ConsoleInternal/components/catalog/_catalog.scss +392 -0
- package/src/ConsoleInternal/components/markdown-view.tsx +276 -0
- package/src/ConsoleInternal/components/utils/_status-box.scss +58 -0
- package/src/ConsoleInternal/components/utils/camel-case-wrap.tsx +33 -0
- package/src/ConsoleInternal/components/utils/index.tsx +3 -0
- package/src/ConsoleInternal/components/utils/router.ts +45 -0
- package/src/ConsoleInternal/components/utils/status-box.tsx +56 -0
- package/src/ConsoleInternal/module/k8s/types.ts +53 -0
- package/src/ConsoleShared/index.ts +1 -0
- package/src/ConsoleShared/src/components/index.ts +7 -0
- package/src/ConsoleShared/src/components/layout/PageLayout.scss +29 -0
- package/src/ConsoleShared/src/components/markdown-extensions/MarkdownCopyClipboard.tsx +95 -0
- package/src/ConsoleShared/src/components/markdown-extensions/__tests__/MarkdownCopyClipboard.spec.tsx +25 -0
- package/src/ConsoleShared/src/components/markdown-extensions/__tests__/test-data.ts +5 -0
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +51 -0
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.tsx +60 -0
- package/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx +67 -0
- package/src/ConsoleShared/src/components/markdown-extensions/code-extension.tsx +23 -0
- package/src/ConsoleShared/src/components/markdown-extensions/const.ts +5 -0
- package/src/ConsoleShared/src/components/markdown-extensions/index.ts +7 -0
- package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +39 -0
- package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +44 -0
- package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +52 -0
- package/src/ConsoleShared/src/components/markdown-extensions/utils.ts +1 -0
- package/src/ConsoleShared/src/components/markdown-highlight-extension/MarkdownHighlightExtension.tsx +65 -0
- package/src/ConsoleShared/src/components/markdown-highlight-extension/highlight-consts.ts +9 -0
- package/src/ConsoleShared/src/components/markdown-highlight-extension/index.ts +1 -0
- package/src/ConsoleShared/src/components/modal/Modal.scss +3 -0
- package/src/ConsoleShared/src/components/modal/Modal.tsx +19 -0
- package/src/ConsoleShared/src/components/modal/index.ts +1 -0
- package/src/ConsoleShared/src/components/popper/Portal.tsx +25 -0
- package/src/ConsoleShared/src/components/popper/SimplePopper.tsx +92 -0
- package/src/ConsoleShared/src/components/popper/index.ts +2 -0
- package/src/ConsoleShared/src/components/spotlight/InteractiveSpotlight.tsx +58 -0
- package/src/ConsoleShared/src/components/spotlight/Spotlight.tsx +35 -0
- package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +32 -0
- package/src/ConsoleShared/src/components/spotlight/index.ts +1 -0
- package/src/ConsoleShared/src/components/spotlight/spotlight.scss +63 -0
- package/src/ConsoleShared/src/components/status/GenericStatus.tsx +34 -0
- package/src/ConsoleShared/src/components/status/NotStartedIcon.tsx +27 -0
- package/src/ConsoleShared/src/components/status/PopoverStatus.tsx +39 -0
- package/src/ConsoleShared/src/components/status/Status.tsx +38 -0
- package/src/ConsoleShared/src/components/status/StatusIconAndText.tsx +42 -0
- package/src/ConsoleShared/src/components/status/icons.tsx +39 -0
- package/src/ConsoleShared/src/components/status/index.tsx +1 -0
- package/src/ConsoleShared/src/components/status/statuses.tsx +20 -0
- package/src/ConsoleShared/src/components/status/types.ts +8 -0
- package/src/ConsoleShared/src/components/utils/FallbackImg.tsx +20 -0
- package/src/ConsoleShared/src/components/utils/index.ts +1 -0
- package/src/ConsoleShared/src/constants/index.ts +1 -0
- package/src/ConsoleShared/src/constants/ui.ts +1 -0
- package/src/ConsoleShared/src/hooks/index.ts +6 -0
- package/src/ConsoleShared/src/hooks/scroll.ts +52 -0
- package/src/ConsoleShared/src/hooks/useBoundingClientRect.ts +18 -0
- package/src/ConsoleShared/src/hooks/useEventListener.ts +14 -0
- package/src/ConsoleShared/src/hooks/useForceRender.ts +6 -0
- package/src/ConsoleShared/src/hooks/useResizeObserver.ts +19 -0
- package/src/ConsoleShared/src/hooks/useScrollShadows.ts +45 -0
- package/src/ConsoleShared/src/index.ts +4 -0
- package/src/ConsoleShared/src/utils/index.ts +1 -0
- package/src/ConsoleShared/src/utils/useCombineRefs.ts +16 -0
- package/src/HelpTopicDrawer.tsx +116 -0
- package/src/HelpTopicPanelContent.tsx +160 -0
- package/src/QuickStartCatalogPage.tsx +195 -0
- package/src/QuickStartCloseModal.tsx +47 -0
- package/src/QuickStartController.tsx +111 -0
- package/src/QuickStartDrawer.scss +11 -0
- package/src/QuickStartDrawer.tsx +265 -0
- package/src/QuickStartMarkdownView.tsx +80 -0
- package/src/QuickStartPanelContent.scss +46 -0
- package/src/QuickStartPanelContent.tsx +165 -0
- package/src/__tests__/quick-start-utils.spec.tsx +16 -0
- package/src/catalog/Catalog/QuickStartCatalogHeader.tsx +18 -0
- package/src/catalog/Catalog/QuickStartCatalogSection.tsx +9 -0
- package/src/catalog/Catalog/QuickStartCatalogToolbar.tsx +12 -0
- package/src/catalog/Catalog/index.ts +3 -0
- package/src/catalog/QuickStartCatalog.scss +8 -0
- package/src/catalog/QuickStartCatalog.tsx +42 -0
- package/src/catalog/QuickStartTile.scss +11 -0
- package/src/catalog/QuickStartTile.tsx +129 -0
- package/src/catalog/QuickStartTileDescription.scss +29 -0
- package/src/catalog/QuickStartTileDescription.tsx +79 -0
- package/src/catalog/QuickStartTileFooter.tsx +101 -0
- package/src/catalog/QuickStartTileFooterExternal.tsx +40 -0
- package/src/catalog/QuickStartTileHeader.scss +16 -0
- package/src/catalog/QuickStartTileHeader.tsx +105 -0
- package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +25 -0
- package/src/catalog/Toolbar/QuickStartCatalogFilter.tsx +32 -0
- package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +218 -0
- package/src/catalog/__tests__/QuickStartCatalog.spec.tsx +35 -0
- package/src/catalog/__tests__/QuickStartTile.spec.tsx +38 -0
- package/src/catalog/__tests__/QuickStartTileDescription.spec.tsx +44 -0
- package/src/catalog/index.ts +9 -0
- package/src/controller/QuickStartConclusion.tsx +63 -0
- package/src/controller/QuickStartContent.scss +12 -0
- package/src/controller/QuickStartContent.tsx +72 -0
- package/src/controller/QuickStartFooter.scss +13 -0
- package/src/controller/QuickStartFooter.tsx +124 -0
- package/src/controller/QuickStartIntroduction.scss +35 -0
- package/src/controller/QuickStartIntroduction.tsx +64 -0
- package/src/controller/QuickStartTaskHeader.scss +58 -0
- package/src/controller/QuickStartTaskHeader.tsx +125 -0
- package/src/controller/QuickStartTaskHeaderList.scss +17 -0
- package/src/controller/QuickStartTaskHeaderList.tsx +33 -0
- package/src/controller/QuickStartTaskReview.scss +30 -0
- package/src/controller/QuickStartTaskReview.tsx +81 -0
- package/src/controller/QuickStartTasks.scss +89 -0
- package/src/controller/QuickStartTasks.tsx +75 -0
- package/src/controller/__tests__/QuickStartConclusion.spec.tsx +95 -0
- package/src/controller/__tests__/QuickStartContent.spec.tsx +52 -0
- package/src/controller/__tests__/QuickStartFooter.spec.tsx +148 -0
- package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +43 -0
- package/src/controller/__tests__/QuickStartTaskReview.spec.tsx +45 -0
- package/src/controller/__tests__/QuickStartTasks.spec.tsx +81 -0
- package/src/data/mocks/json/explore-pipeline-quickstart.ts +66 -0
- package/src/data/mocks/json/explore-serverless-quickstart.ts +90 -0
- package/src/data/mocks/json/monitor-sampleapp-quickstart.ts +77 -0
- package/src/data/mocks/json/tour-icons.ts +3 -0
- package/src/data/mocks/yamls/add-healthchecks-quickstart.yaml +67 -0
- package/src/data/mocks/yamls/explore-pipeline-quickstart.yaml +57 -0
- package/src/data/mocks/yamls/explore-serverless-quickstart.yaml +83 -0
- package/src/data/mocks/yamls/install-associate-pipeline-quickstart.yaml +74 -0
- package/src/data/mocks/yamls/monitor-sampleapp-quickstart.yaml +66 -0
- package/src/data/mocks/yamls/sample-application-quickstart.yaml +97 -0
- package/src/data/mocks/yamls/serverless-application-quickstart.yaml +141 -0
- package/src/data/quick-start-test-data.ts +10 -0
- package/src/data/test-utils.ts +11 -0
- package/src/declaration.d.ts +2 -0
- package/src/index.ts +17 -0
- package/src/locales/en/quickstart.json +46 -0
- package/src/styles/_base.scss +54 -0
- package/src/styles/_dark-custom-override.scss +62 -0
- package/src/styles/legacy-bootstrap/README.md +21 -0
- package/src/styles/legacy-bootstrap/_code.scss +46 -0
- package/src/styles/legacy-bootstrap/_tables.scss +38 -0
- package/src/styles/legacy-bootstrap/_type.scss +92 -0
- package/src/styles/legacy-bootstrap/_variables.scss +48 -0
- package/src/styles/legacy-bootstrap.scss +5 -0
- package/src/styles/patternfly-global-entry.ts +1 -0
- package/src/styles/patternfly-global.scss +28 -0
- package/src/styles/patternfly-nested-entry.ts +1 -0
- package/src/styles/patternfly-nested.scss +18 -0
- package/src/styles/quickstarts-standalone-entry.ts +1 -0
- package/src/styles/quickstarts-standalone.scss +7 -0
- package/src/styles/style.scss +12 -0
- package/src/styles/vendor-entry.ts +1 -0
- package/src/styles/vendor.scss +7 -0
- package/src/utils/PluralResolver.ts +362 -0
- package/src/utils/asciidoc-procedure-parser.ts +130 -0
- package/src/utils/const.ts +10 -0
- package/src/utils/help-topic-context.tsx +72 -0
- package/src/utils/help-topic-types.ts +16 -0
- package/src/utils/quick-start-context.tsx +473 -0
- package/src/utils/quick-start-types.ts +73 -0
- package/src/utils/quick-start-utils.ts +88 -0
- package/src/utils/useLocalStorage.ts +38 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
apiVersion: console.openshift.io/v1
|
|
2
|
+
kind: ConsoleQuickStart
|
|
3
|
+
metadata:
|
|
4
|
+
name: install-app-and-associate-pipeline
|
|
5
|
+
spec:
|
|
6
|
+
version: 4.7
|
|
7
|
+
displayName: Deploying an application with a pipeline
|
|
8
|
+
durationMinutes: 10
|
|
9
|
+
icon: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABlCAYAAABUfC3PAAAQrElEQVR4Xu2dd3wU1RbHfymkQBomkAYEiICCSFDkw3uACaIi0mJBKT4JRgSehSAoyEMMykMUpfgBBaSEjw8BfX4oL4ogQmjqB5CignQSSgrpZdOTeZ8zYdbdzczO3dm5uxtx/oLMnXvPOd97bj33rhuawFOTeVmoPnsC1edOoC4rHbWZ6aLU9P/6smJZDTzDo+AZ3l58531vHNz9g+DVOQa+vQa4ubrKLilg1dnjQnnaVlT9nGbV8FqNS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h07eXShrem1/8BWjy0OmdfIfEAAAAASUVORK5CYII=
|
|
10
|
+
description: Import an application from Git, add a pipeline to it, and run the Pipeline.
|
|
11
|
+
prerequisites: ['']
|
|
12
|
+
introduction: This quick start guides you through creating an application and associating it with a CI/CD pipeline.
|
|
13
|
+
tasks:
|
|
14
|
+
- title: Importing an application and associate it with a pipeline
|
|
15
|
+
description: |-
|
|
16
|
+
### Follow these steps to create an application.
|
|
17
|
+
1. From the **Developer** perspective, in the navigation menu, click **+Add**.
|
|
18
|
+
2. At the top of the page, in the Projects list, select a project or create a new project to put the application in.
|
|
19
|
+
3. Click **From Git**.
|
|
20
|
+
4. In the **Git Repo URL** field, enter `https://github.com/sclorg/django-ex.git`.
|
|
21
|
+
4. In the **Pipelines** section, click the checkbox to add a pipeline to your application.
|
|
22
|
+
5. Click **Create** when you’re done.
|
|
23
|
+
review:
|
|
24
|
+
instructions: |-
|
|
25
|
+
#### To verify that your application was successfully created:
|
|
26
|
+
Momentarily, you should be brought to the **Topology** view.
|
|
27
|
+
|
|
28
|
+
Is there an Application and Deployment name `django-ex?`
|
|
29
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
30
|
+
summary:
|
|
31
|
+
success: You just installed a deployment with an associated pipeline! Next,
|
|
32
|
+
we'll explore your application in topology.
|
|
33
|
+
failed: Check your work to make sure that the application and deployment are
|
|
34
|
+
successfully created.
|
|
35
|
+
- title: Exploring your application
|
|
36
|
+
description: |-
|
|
37
|
+
### Let's explore your application in topology:
|
|
38
|
+
1. Click on the deployment to see associated details in the side panel.
|
|
39
|
+
2. Click on the Resources tab in the side panel to view related resources.
|
|
40
|
+
review:
|
|
41
|
+
instructions: |-
|
|
42
|
+
#### To verify that the application has been created and a pipeline was associated:
|
|
43
|
+
1. The **Resources** tab of the side panel shows many associated resources, including **Pods**, **Pipeline Runs**, and **Routes**.
|
|
44
|
+
2. The **Pipeline Runs** section displays the associated pipeline.
|
|
45
|
+
|
|
46
|
+
Is there a Pipeline named django-ex-git?
|
|
47
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
48
|
+
summary:
|
|
49
|
+
success: You just located the associated Pipeline! Next, we'll start and explore
|
|
50
|
+
your Pipeline.
|
|
51
|
+
failed: Check your work to locate the associated pipeline.
|
|
52
|
+
- title: Starting your pipeline
|
|
53
|
+
description: |-
|
|
54
|
+
### You’ve just explored the topology of your application and seen it’s related resources. Now let’s start your pipeline.
|
|
55
|
+
Notice the Pipeline Runs section of the Side Panel
|
|
56
|
+
1. The first row shows the Pipeline associated with the application and an action button to **Start Last Run**, which is disabled.
|
|
57
|
+
2. Click on the Pipeline link, which should bring you to the **Pipeline Details** page.
|
|
58
|
+
3. From the Action menu, click on **Start** to start your Pipeline.
|
|
59
|
+
review:
|
|
60
|
+
instructions: |-
|
|
61
|
+
#### Momentarily, you should be brought to the **Pipeline Run Details** page. To verify that your pipeline has started,
|
|
62
|
+
1. Note that the **Pipeline Runs Details** section shows a visualization of the pipeline run status and the tasks in the pipeline.
|
|
63
|
+
2. Hovering over a task shows a tooltip with the details of the associated steps.
|
|
64
|
+
3. Click on the **Logs** tab to watch the progress of your pipeline run.
|
|
65
|
+
4. When the pipeline run is complete, you will see a **Succeeded** badge on the page title.
|
|
66
|
+
|
|
67
|
+
Is the status Succeeded?
|
|
68
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
69
|
+
summary:
|
|
70
|
+
success: You have run your pipeline successfully
|
|
71
|
+
failed: This task is not verified yet. Try the task again,
|
|
72
|
+
conclusion: You just created an application and associated a pipeline with it, and
|
|
73
|
+
successfully started the pipeline.
|
|
74
|
+
nextQuickStart: ['']
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
apiVersion: console.openshift.io/v1
|
|
2
|
+
kind: ConsoleQuickStart
|
|
3
|
+
metadata:
|
|
4
|
+
name: monitor-sampleapp
|
|
5
|
+
spec:
|
|
6
|
+
version: 4.7
|
|
7
|
+
displayName: Monitoring your sample application
|
|
8
|
+
durationMinutes: 10
|
|
9
|
+
icon: ''
|
|
10
|
+
description: Now that you’ve created a sample application and added health checks,
|
|
11
|
+
let’s monitor your application.
|
|
12
|
+
prerequisites: [You completed the "Getting started with a sample" quick start.]
|
|
13
|
+
introduction: |-
|
|
14
|
+
### This quick start shows you how to monitor your sample application.
|
|
15
|
+
You should have previously created the **sample-app** application and **nodejs-sample** deployment via the **Get started with a sample** quick start. If you haven't, you may be able to follow these tasks with any existing deployment.
|
|
16
|
+
tasks:
|
|
17
|
+
- title: Viewing the monitoring details of your sample application
|
|
18
|
+
description: |-
|
|
19
|
+
### To view the details of your sample application:
|
|
20
|
+
1. Go to the project your sample application was created in.
|
|
21
|
+
2. In the **</> Developer** perspective, go to **Topology** view.
|
|
22
|
+
3. Click on the **nodejs-sample** deployment to view its details.
|
|
23
|
+
4. Click on the **Monitoring** tab in the side panel.
|
|
24
|
+
|
|
25
|
+
You can see context sensitive metrics and alerts in the **Monitoring** tab.
|
|
26
|
+
review:
|
|
27
|
+
instructions: |-
|
|
28
|
+
#### To verify you can view the monitoring information:
|
|
29
|
+
1. Do you see a **Metrics** accordion in the side panel?
|
|
30
|
+
2. Do you see a **View monitoring dashboard** link in the **Metrics** accordion?
|
|
31
|
+
3. Do you see three charts in the **Metrics** accordion: **CPU Usage**, **Memory Usage** and **Receive Bandwidth**?
|
|
32
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
33
|
+
summary:
|
|
34
|
+
success: You have learned how you can monitor your sample app!
|
|
35
|
+
failed: Try the steps again.
|
|
36
|
+
- title: Viewing your project monitoring dashboard
|
|
37
|
+
description: |-
|
|
38
|
+
### To view the project monitoring dashboard in the context of **nodejs-sample**:
|
|
39
|
+
1. Click on the **View monitoring dashboard** link in the side panel.
|
|
40
|
+
2. You can change the **Time Range** and **Refresh Interval** of the dashboard.
|
|
41
|
+
3. You can change the context of the dashboard as well by clicking on the drop-down list. Select a specific workload or **All Workloads** to view the dashboard in the context of the entire project.
|
|
42
|
+
review:
|
|
43
|
+
instructions: |-
|
|
44
|
+
#### To verify that you are able to view the monitoring dashboard:
|
|
45
|
+
Do you see metrics charts in the dashboard?
|
|
46
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
47
|
+
summary:
|
|
48
|
+
success: You have learned how to view the dashboard in the context of your sample
|
|
49
|
+
app!
|
|
50
|
+
failed: Try the steps again.
|
|
51
|
+
- title: Viewing custom metrics
|
|
52
|
+
description: |-
|
|
53
|
+
### To view custom metrics:
|
|
54
|
+
1. Click on the **Metrics** tab of the **Monitoring** page.
|
|
55
|
+
2. Click the **Select Query** drop-down list to see the available queries.
|
|
56
|
+
3. Click on **Filesystem Usage** from the list to run the query.
|
|
57
|
+
review:
|
|
58
|
+
instructions: |
|
|
59
|
+
#### Verify you can see the chart associated with the query:
|
|
60
|
+
Do you see a chart displayed with filesystem usage for your project? Note: select **Custom Query** from the dropdown to create and run a custom query utilizing PromQL.
|
|
61
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
62
|
+
summary:
|
|
63
|
+
success: You have learned how to run a query!
|
|
64
|
+
failed: Try the steps again.
|
|
65
|
+
conclusion: You have learned how to access workload monitoring and metrics!
|
|
66
|
+
nextQuickStart: ['']
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
apiVersion: console.openshift.io/v1
|
|
2
|
+
kind: ConsoleQuickStart
|
|
3
|
+
metadata:
|
|
4
|
+
name: sample-application
|
|
5
|
+
spec:
|
|
6
|
+
version: 4.7
|
|
7
|
+
displayName: Getting started with a sample
|
|
8
|
+
durationMinutes: 10
|
|
9
|
+
icon: ''
|
|
10
|
+
description: Is this the first time you’ve used OpenShift? Let's start with a simple
|
|
11
|
+
sample app to learn the basics.
|
|
12
|
+
prerequisites: ['']
|
|
13
|
+
introduction: '### This Quick Start shows you how to deploy a sample application
|
|
14
|
+
to OpenShift.'
|
|
15
|
+
tasks:
|
|
16
|
+
- title: Creating a sample application
|
|
17
|
+
description: |-
|
|
18
|
+
### To create a sample application:
|
|
19
|
+
1. Using the perspective switcher at the top of the navigation, go to **</> Developer**.
|
|
20
|
+
2. Go to the **+Add** page in the navigation.
|
|
21
|
+
3. Using the project drop-down list, select the project you would like to create the sample application in. You can also create a new one if you’d like.
|
|
22
|
+
4. Click **Samples** to create an application from a code sample.
|
|
23
|
+
5. Click on the **Node.js** card.
|
|
24
|
+
6. Scroll down and click **Create**.
|
|
25
|
+
|
|
26
|
+
The **Topology** view will load with your new sample application. The application is represented by the light grey area with the white border. The deployment is a white circle.
|
|
27
|
+
review:
|
|
28
|
+
instructions: |-
|
|
29
|
+
#### To verify the application was successfully created:
|
|
30
|
+
1. Do you see a **sample-app** application?
|
|
31
|
+
2. Do you see a **nodejs-sample** deployment?
|
|
32
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
33
|
+
summary:
|
|
34
|
+
success: You have created a sample application!
|
|
35
|
+
failed: Try the steps again.
|
|
36
|
+
- title: Viewing build status
|
|
37
|
+
description: |-
|
|
38
|
+
### To view the build status of the sample application:
|
|
39
|
+
1. Hover over the icon on the bottom left quadrant of the **nodejs-sample** deployment to see the build status in a tooltip.
|
|
40
|
+
2. Click on the icon for quick access to the build log.
|
|
41
|
+
|
|
42
|
+
You should be able to see the log stream of the **nodejs-sample-1** build on the **Build Details** page.
|
|
43
|
+
review:
|
|
44
|
+
instructions: |-
|
|
45
|
+
#### To verify the build is complete:
|
|
46
|
+
Wait for the build to complete. It may take a few minutes. Do you see a **Completed** badge on the page header?
|
|
47
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
48
|
+
summary:
|
|
49
|
+
success: Your sample app is now built!
|
|
50
|
+
failed: Try the steps again.
|
|
51
|
+
- title: Viewing the associated Git repo
|
|
52
|
+
description: |
|
|
53
|
+
### To view the associated code:
|
|
54
|
+
1. If you aren't already there, go to the **Topology** page in the navigation.
|
|
55
|
+
2. The icon on the bottom right quadrant of the **nodejs-sample** deployment represents the Git repo of the associated code. The icon shown can be for Bitbucket, GitHub, GitLab or generic Git. Click on it to navigate to the associated Git repository.
|
|
56
|
+
review:
|
|
57
|
+
instructions: |-
|
|
58
|
+
#### Verify you can see the code associated with the sample app:
|
|
59
|
+
Was a new browser tab opened with https://github.com/sclorg/nodejs-ex?
|
|
60
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
61
|
+
summary:
|
|
62
|
+
success: You have viewed the associated Git repo.
|
|
63
|
+
failed: Try the steps again.
|
|
64
|
+
- title: Viewing the pod status
|
|
65
|
+
description: |-
|
|
66
|
+
### To view the pod status:
|
|
67
|
+
1. Click on the browser tab with OpenShift. Notice that the **nodejs-sample** deployment has a pod donut imposed on the circle, representing the pod status
|
|
68
|
+
2. Hover over the pod donut.
|
|
69
|
+
|
|
70
|
+
You should now see the pod status in a tooltip.
|
|
71
|
+
review:
|
|
72
|
+
instructions: |-
|
|
73
|
+
#### To verify you see the pod status:
|
|
74
|
+
Do you see the number of associated pods and their statuses?
|
|
75
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
76
|
+
summary:
|
|
77
|
+
success: You have viewed the pod status for your app!
|
|
78
|
+
failed: Try the steps again.
|
|
79
|
+
- title: Running the sample application
|
|
80
|
+
description: |-
|
|
81
|
+
### To run the sample application:
|
|
82
|
+
1. The icon on the top right quadrant of the **nodejs-sample** deployment represents the route URL. Click on it to open the URL and run the application.
|
|
83
|
+
|
|
84
|
+
The application will be run in a new tab.
|
|
85
|
+
review:
|
|
86
|
+
instructions: |-
|
|
87
|
+
#### To verify your sample application is running:
|
|
88
|
+
1. Make sure you are in the new tab.
|
|
89
|
+
2. Does the page have a **Welcome to your Node.js application on OpenShift** title?
|
|
90
|
+
failedTaskHelp: This task isn’t verified yet. Try the task again.
|
|
91
|
+
summary:
|
|
92
|
+
success: You have run your sample app!
|
|
93
|
+
failed: Try the steps again.
|
|
94
|
+
conclusion: Your sample application is deployed and ready! To add health checks
|
|
95
|
+
to your sample app, take the **Adding health checks to your sample application**
|
|
96
|
+
quick start
|
|
97
|
+
nextQuickStart: [add-healthchecks]
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
apiVersion: console.openshift.io/v1
|
|
2
|
+
kind: ConsoleQuickStart
|
|
3
|
+
metadata:
|
|
4
|
+
name: serverless-application
|
|
5
|
+
spec:
|
|
6
|
+
version: 4.7
|
|
7
|
+
displayName: Exploring Serverless applications
|
|
8
|
+
icon: data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2UwMzQwMDt9LmNscy0ye2ZpbGw6I2NlMmUwMDt9LmNscy0ze2ZpbGw6bm9uZTt9LmNscy00e2ZpbGw6I2ZmZjt9LmNscy01e2ZpbGw6I2RjZGNkYzt9LmNscy02e2ZpbGw6I2FhYTt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlJlZF9IYXQtT3BlbnNoaWZ0NC1DYXRhbG9nX0ljb25zLVNlcnZlcmxlc3M8L3RpdGxlPjxjaXJjbGUgY2xhc3M9ImNscy0xIiBjeD0iNTAiIGN5PSI1MCIgcj0iNTAiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik04NS4zNiwxNC42NEE1MCw1MCwwLDAsMSwxNC42NCw4NS4zNloiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik00MC41Nyw0Ny40MmEzLjg5LDMuODksMCwxLDAsMy44OCwzLjg4QTMuODksMy44OSwwLDAsMCw0MC41Nyw0Ny40MloiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik0yMS40Miw0Ny40MkEzLjg5LDMuODksMCwxLDAsMjUuMyw1MS4zLDMuODksMy44OSwwLDAsMCwyMS40Miw0Ny40MloiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Ik01MC4wOSw0OC44Nmgt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MuNDUiIHI9IjIuOTMiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNCIgY3g9IjY4Ljg5IiBjeT0iNDMuNDUiIHI9IjIuOTMiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNCIgY3g9IjMxLjA5IiBjeT0iNDMuNDUiIHI9IjIuOTMiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNiIgY3g9Ijc3Ljk0IiBjeT0iNTQuMzEiIHI9IjIuMTUiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNiIgY3g9IjY4LjkxIiBjeT0iNTQuMzEiIHI9IjIuMTUiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNCIgY3g9Ijc3Ljk0IiBjeT0iMzcuNzMiIHI9IjIuMTUiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNCIgY3g9IjU5LjcyIiBjeT0iMzcuNzMiIHI9IjIuMTUiLz48Y2lyY2xlIGNsYXNzPSJjbHMtNCIgY3g9IjUwIiBjeT0iMzMuMSIgcj0iMy4wMSIvPjxjaXJjbGUgY2xhc3M9ImNscy00IiBjeD0iMzEuMDkiIGN5PSIzMy4xIiByPSIzLjAxIi8+PGNpcmNsZSBjbGFzcz0iY2xzLTQiIGN4PSI2OC44OSIgY3k9IjMzLjEiIHI9IjMuMDEiLz48L3N2Zz4=
|
|
9
|
+
durationMinutes: 15
|
|
10
|
+
description: Learn how to create a Serverless application.
|
|
11
|
+
prerequisites: ['']
|
|
12
|
+
introduction: This quick start guides you through creating and using a serverless application.
|
|
13
|
+
tasks:
|
|
14
|
+
- title: Creating a serverless application
|
|
15
|
+
description: |-
|
|
16
|
+
### To create a serverless application:
|
|
17
|
+
1. From the **Developer** perspective, in the navigation menu, click [+Add](/add).
|
|
18
|
+
2. At the top of the page, in the **Projects** list, select a project to create the application in.
|
|
19
|
+
3. Click **From Git**.
|
|
20
|
+
4. In the **Git Repo URL** field, type `https://github.com/sclorg/django-ex.git`.
|
|
21
|
+
5. Under Resources, select **Knative Service**.
|
|
22
|
+
6. At the end of the page, click **Create**.
|
|
23
|
+
|
|
24
|
+
The **Topology** view displays your new Serverless application. The application is represented by the light gray area with the white border. The Knative Service is the darker gray area with the dotted border. The Pod ring in the middle represents the revision.
|
|
25
|
+
review:
|
|
26
|
+
instructions: |-
|
|
27
|
+
#### To verify the application was successfully created:
|
|
28
|
+
From the **Topology** view, look for your new application. Wait for the build to complete. It may take a few minutes.
|
|
29
|
+
|
|
30
|
+
After the build completes, a green checkmark appears in the lower-left corner of the service. Your application will say “No Revisions” in the center.
|
|
31
|
+
|
|
32
|
+
Do you see the completed application and build?
|
|
33
|
+
failedTaskHelp:
|
|
34
|
+
This task isn’t verified yet. Try the task again, or [read more](https://docs.openshift.com/container-platform/4.6/serverless/serving-creating-managing-apps.html#creating-serverless-applications-using-the-openshift-container-platform-web-console)
|
|
35
|
+
about this topic.
|
|
36
|
+
summary:
|
|
37
|
+
success: You just created a Serverless app!
|
|
38
|
+
failed: Try the steps again.
|
|
39
|
+
- title: Demoing scalability
|
|
40
|
+
description: |
|
|
41
|
+
### To see your application scale:
|
|
42
|
+
1. From the **Display Options** list at the top of the **Topology** view, click **Pod Count**.
|
|
43
|
+
2. Wait for the Pod count to scale down to zero Pods. Scaling down may take a few minutes.
|
|
44
|
+
3. Click the **Route URL** icon in the upper-right corner of the Knative Service panel. The application opens in a new tab.
|
|
45
|
+
4. Close the new browser tab and return to the **Topology** view.
|
|
46
|
+
|
|
47
|
+
In the **Topology** view, you can see that your application scaled up to one Pod to accommodate your request. After a few minutes, your application scales back down to zero Pods.
|
|
48
|
+
review:
|
|
49
|
+
instructions: |-
|
|
50
|
+
#### To verify the application scaled down:
|
|
51
|
+
1. Click the revision inside your service. The badges under the Pod ring and at the top of the side panel should be (REV).
|
|
52
|
+
2. Click the **Details** tab in the side panel.
|
|
53
|
+
|
|
54
|
+
Is the Pod ring autoscaled to zero?
|
|
55
|
+
failedTaskHelp:
|
|
56
|
+
This task isn’t verified yet. Try the task again, or [read more](https://docs.openshift.com/container-platform/4.6/applications/application_life_cycle_management/odc-viewing-application-composition-using-topology-view.html#odc-scaling-application-pods-and-checking-builds-and-routes_viewing-application-composition-using-topology-view)
|
|
57
|
+
about this topic.
|
|
58
|
+
summary:
|
|
59
|
+
success: You just scaled up your application to accomodate a traffic request!
|
|
60
|
+
failed: Try the steps again.
|
|
61
|
+
- title: Connecting an event source to your Knative Service
|
|
62
|
+
description: |-
|
|
63
|
+
### To connect an event source to your Knative Service:
|
|
64
|
+
1. On the **Topology** View, hover over your service with your cursor. You should see a blue arrow.
|
|
65
|
+
2. Click and drag the blue arrow, then drop it anywhere outside the service.
|
|
66
|
+
3. In the list that appears, click **Event Source**.
|
|
67
|
+
4. Under the **Type** field, click **PingSource**.
|
|
68
|
+
5. In the **Data** field, type `This message is from PingSource`. This message is posted when the service is called.
|
|
69
|
+
6. In the **Schedule** field, type `* * * * *`. This means that the PingSource will make a call every minute.
|
|
70
|
+
7. In the **Application** field, select **Sample Serverless App**.
|
|
71
|
+
8. Click **Create**.
|
|
72
|
+
review:
|
|
73
|
+
instructions: |-
|
|
74
|
+
#### To verify that the event connected to your Knative service:
|
|
75
|
+
|
|
76
|
+
Go to the **Topology** view.
|
|
77
|
+
|
|
78
|
+
Do you see a PingSource connected by a gray line to the side of your application?
|
|
79
|
+
failedTaskHelp:
|
|
80
|
+
This task isn’t verified yet. Try the task again, or [read more](https://docs.openshift.com/container-platform/4.6/serverless/event_sources/knative-event-sources.html)
|
|
81
|
+
about this topic.
|
|
82
|
+
summary:
|
|
83
|
+
success: You just wired an Event Source to your Knative Service!
|
|
84
|
+
failed: Try the steps again.
|
|
85
|
+
- title: Forcing a new revision and set traffic distribution
|
|
86
|
+
description: |-
|
|
87
|
+
### To force a revision and set traffic distribution:
|
|
88
|
+
|
|
89
|
+
1. In **Topology**, click on the revision inside your service to view its details. The badges under the Pod ring and at the top of the detail panel should be (REV).
|
|
90
|
+
2. In the side panel, click on the **Resources** tab.
|
|
91
|
+
3. Scroll down and click on the configuration associated with your service.
|
|
92
|
+
4. Go to the resource’s **YAML** tab.
|
|
93
|
+
5. Scroll all the way down until you see `timeoutSeconds`.
|
|
94
|
+
6. Change the value from `300` to `30` and click **Save**.
|
|
95
|
+
7. Go back to the **Topology** view.
|
|
96
|
+
8. Click on your service. The badge at the top of the side panel should be (KSVC).
|
|
97
|
+
9. In the side panel, click on the **Resources** tab.
|
|
98
|
+
10. Next to **Revisions**, click **Set Traffic Distribution**.
|
|
99
|
+
11. Click **Add Revision**.
|
|
100
|
+
12. In the **Revision** dropdown, select the new revision.
|
|
101
|
+
13. In the **Split** column, set both revisions to **50**.
|
|
102
|
+
14. Click **Save**.
|
|
103
|
+
|
|
104
|
+
You should now be able to watch as the Pod rings for each revision scale up and down each time the application is pinged.
|
|
105
|
+
review:
|
|
106
|
+
instructions: |-
|
|
107
|
+
#### To verify that you forced a new revision and set traffic distribution:
|
|
108
|
+
|
|
109
|
+
Make sure you are still in **Topology** view.
|
|
110
|
+
|
|
111
|
+
Do you see two revisions in your Knative Service?
|
|
112
|
+
failedTaskHelp:
|
|
113
|
+
This task isn’t verified yet. Try the task again, or [read more](https://docs.openshift.com/container-platform/4.6/serverless/knative_serving/splitting-traffic-between-revisions.html)
|
|
114
|
+
about this topic.
|
|
115
|
+
summary:
|
|
116
|
+
success: You just set a traffic distribution for your Serverless app!
|
|
117
|
+
failed: Try the steps again.
|
|
118
|
+
- title: Deleting your application
|
|
119
|
+
description: |-
|
|
120
|
+
### To delete the application you just created:
|
|
121
|
+
|
|
122
|
+
1. Click your application’s name. The badge at the top of the side panel should be (A).
|
|
123
|
+
2. At the top of the resource details panel, click on the **Actions** list.
|
|
124
|
+
3. Click **Delete application**.
|
|
125
|
+
4. To confirm deletion, type the application’s name in the **Name** field, and then click **Delete**.
|
|
126
|
+
review:
|
|
127
|
+
instructions: |-
|
|
128
|
+
#### To verify you deleted your application: :
|
|
129
|
+
|
|
130
|
+
Make sure you are still in **Topology** view.
|
|
131
|
+
|
|
132
|
+
Has the Sample Serverless App been removed?
|
|
133
|
+
failedTaskHelp:
|
|
134
|
+
This task is not verified yet. Try the task again, or [read more](https://docs.openshift.com/container-platform/4.6/applications/application_life_cycle_management/odc-deleting-applications.html)
|
|
135
|
+
about this topic.
|
|
136
|
+
summary:
|
|
137
|
+
success: You just deleted your Serverless app!
|
|
138
|
+
failed: Try the steps again.
|
|
139
|
+
conclusion: You just learned how to use Serverless applications in your cluster!
|
|
140
|
+
To learn more about building Serverless apps, take a look at our [Knative Cookbook](https://redhat-developer-demos.github.io/knative-tutorial/knative-tutorial/index.html).
|
|
141
|
+
nextQuickStart: ['']
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QuickStart } from '@patternfly/quickstarts';
|
|
2
|
+
import { explorePipelinesQuickStart } from './mocks/json/explore-pipeline-quickstart';
|
|
3
|
+
import { exploreServerlessQuickStart } from './mocks/json/explore-serverless-quickstart';
|
|
4
|
+
import { monitorSampleAppQuickStart } from './mocks/json/monitor-sampleapp-quickstart';
|
|
5
|
+
|
|
6
|
+
export const allQuickStarts: QuickStart[] = [
|
|
7
|
+
explorePipelinesQuickStart,
|
|
8
|
+
exploreServerlessQuickStart,
|
|
9
|
+
monitorSampleAppQuickStart,
|
|
10
|
+
];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QuickStart } from '@patternfly/quickstarts';
|
|
2
|
+
import { allQuickStarts } from './quick-start-test-data';
|
|
3
|
+
|
|
4
|
+
export const getQuickStarts = (): QuickStart[] => allQuickStarts;
|
|
5
|
+
|
|
6
|
+
export const contextValues = {
|
|
7
|
+
allQuickStarts,
|
|
8
|
+
activeQuickStartID: '',
|
|
9
|
+
startQuickStart: () => {},
|
|
10
|
+
restartQuickStart: () => {},
|
|
11
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './styles/style.scss';
|
|
2
|
+
|
|
3
|
+
export * from './QuickStartCatalogPage';
|
|
4
|
+
export * from './catalog';
|
|
5
|
+
export * from './ConsoleInternal/components/utils';
|
|
6
|
+
export * from './QuickStartDrawer';
|
|
7
|
+
export * from './HelpTopicDrawer';
|
|
8
|
+
export * from './utils/const';
|
|
9
|
+
export * from './utils/quick-start-context';
|
|
10
|
+
export * from './utils/quick-start-types';
|
|
11
|
+
export * from './utils/help-topic-context';
|
|
12
|
+
export * from './utils/help-topic-types';
|
|
13
|
+
export * from './utils/quick-start-utils';
|
|
14
|
+
export * from './utils/useLocalStorage';
|
|
15
|
+
export * from './utils/asciidoc-procedure-parser';
|
|
16
|
+
export { default as QuickStartPanelContent } from './QuickStartPanelContent';
|
|
17
|
+
export { default as QuickStartCloseModal } from './QuickStartCloseModal';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"No results found": "No results found",
|
|
3
|
+
"No results match the filter criteria. Remove filters or clear all filters to show results.": "No results match the filter criteria. Remove filters or clear all filters to show results.",
|
|
4
|
+
"Clear all filters": "Clear all filters",
|
|
5
|
+
"Quick Starts": "Quick Starts",
|
|
6
|
+
"Complete ({{statusCount, number}})": "Complete ({{statusCount, number}})",
|
|
7
|
+
"In progress ({{statusCount, number}})": "In progress ({{statusCount, number}})",
|
|
8
|
+
"Not started ({{statusCount, number}})": "Not started ({{statusCount, number}})",
|
|
9
|
+
"Filter by keyword...": "Filter by keyword...",
|
|
10
|
+
"Select filter": "Select filter",
|
|
11
|
+
"Status": "Status",
|
|
12
|
+
"{{count, number}} item": "{{count, number}} item",
|
|
13
|
+
"{{count, number}} item_plural": "{{count, number}} items",
|
|
14
|
+
"Prerequisites ({{totalPrereqs}})": "Prerequisites ({{totalPrereqs}})",
|
|
15
|
+
"View Prerequisites ({{totalPrereqs}})": "View Prerequisites ({{totalPrereqs}})",
|
|
16
|
+
"Prerequisites": "Prerequisites",
|
|
17
|
+
"Show prerequisites": "Show prerequisites",
|
|
18
|
+
"Complete": "Complete",
|
|
19
|
+
"In progress": "In progress",
|
|
20
|
+
"Not started": "Not started",
|
|
21
|
+
"{{duration, number}} minutes": "{{duration, number}} minutes",
|
|
22
|
+
"One or more verifications did not pass during this quick start. Revisit the tasks or the help links, and then try again.": "One or more verifications did not pass during this quick start. Revisit the tasks or the help links, and then try again.",
|
|
23
|
+
"Start {{nextQSDisplayName}} quick start": "Start {{nextQSDisplayName}} quick start",
|
|
24
|
+
"Start": "Start",
|
|
25
|
+
"Continue": "Continue",
|
|
26
|
+
"Next": "Next",
|
|
27
|
+
"Close": "Close",
|
|
28
|
+
"Back": "Back",
|
|
29
|
+
"Restart": "Restart",
|
|
30
|
+
"In this quick start, you will complete {{count, number}} task": "In this quick start, you will complete {{count, number}} task",
|
|
31
|
+
"In this quick start, you will complete {{count, number}} task_plural": "In this quick start, you will complete {{count, number}} tasks",
|
|
32
|
+
"{{taskIndex, number}}": "{{taskIndex, number}}",
|
|
33
|
+
"Check your work": "Check your work",
|
|
34
|
+
"Yes": "Yes",
|
|
35
|
+
"No": "No",
|
|
36
|
+
"{{index, number}} of {{tasks, number}}": "{{index, number}} of {{tasks, number}}",
|
|
37
|
+
"Leave quick start?": "Leave quick start?",
|
|
38
|
+
"Cancel": "Cancel",
|
|
39
|
+
"Leave": "Leave",
|
|
40
|
+
"Your progress will be saved.": "Your progress will be saved.",
|
|
41
|
+
"Not available": "Not available",
|
|
42
|
+
"Copy to clipboard": "Copy to clipboard",
|
|
43
|
+
"Successfully copied to clipboard!": "Successfully copied to clipboard!",
|
|
44
|
+
"Type": "Quick start",
|
|
45
|
+
"{{type}} • {{duration, number}} minutes": "{{type}} • {{duration, number}} minutes"
|
|
46
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Base element styles.
|
|
2
|
+
// Please DO NOT add rules of this type.
|
|
3
|
+
.pfext-quick-start-panel-content__body {
|
|
4
|
+
dl {
|
|
5
|
+
margin: 0px; }
|
|
6
|
+
|
|
7
|
+
// match pf4 styling / table col head styling
|
|
8
|
+
dt {
|
|
9
|
+
font-weight: var(--pf-v5-global--FontWeight--bold); }
|
|
10
|
+
|
|
11
|
+
dd {
|
|
12
|
+
margin-bottom: 20px; }
|
|
13
|
+
|
|
14
|
+
dd:last-child {
|
|
15
|
+
margin-bottom: 0px; }
|
|
16
|
+
|
|
17
|
+
input[type="number"] {
|
|
18
|
+
-webkit-appearance: textfield;
|
|
19
|
+
appearance: textfield;
|
|
20
|
+
max-width: 100px;
|
|
21
|
+
&::-webkit-inner-spin-button,
|
|
22
|
+
&::-webkit-outer-spin-button {
|
|
23
|
+
-webkit-appearance: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
input[type="radio"] {
|
|
28
|
+
margin-right: 7px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.pf-v5-c-list {
|
|
32
|
+
--pf-v5-c-list--PaddingLeft: 20px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// drawer
|
|
37
|
+
.pfext-quick-start-panel-content__header,
|
|
38
|
+
.pfext-quick-start-panel-content__body,
|
|
39
|
+
// catalog gallery wrapper
|
|
40
|
+
.pfext-page-layout__content,
|
|
41
|
+
// catalog item prereq popover
|
|
42
|
+
.pfext-popover__base {
|
|
43
|
+
--pf-v5-global--FontSize--md: 14px;
|
|
44
|
+
--pf-v5-global--FontSize--sm: 13px;
|
|
45
|
+
|
|
46
|
+
ul {
|
|
47
|
+
list-style-type: disc;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
input[type='radio'],
|
|
51
|
+
input[type='checkbox'] {
|
|
52
|
+
margin-top: 1px !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.pf-v5-theme-dark {
|
|
2
|
+
.pfext-catalog-item-icon__img--large {
|
|
3
|
+
// Not perfect, but gives a better result for colors than just inverting
|
|
4
|
+
// by inverts to switch b/w, then rotates to get colors approximately back
|
|
5
|
+
filter: brightness(1.5) invert(1) hue-rotate(180deg) saturate(4);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// duration color was gray on white but on the blue header, only white text works
|
|
9
|
+
.pfext-quick-start-panel-content__header--blue-white .pfext-quick-start-panel-content__duration {
|
|
10
|
+
color: var(--pf-v5-global--Color--light-100);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.pfext-quick-start-task-header__subtitle {
|
|
14
|
+
color: var(--pf-v5-global--palette--black-200) !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.pfext-quick-start-task-header__task-icon-init {
|
|
18
|
+
background-color: var(--pf-v5-global--primary-color--300);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pfext-quick-start-task-header__tryagain {
|
|
22
|
+
color: var(--pf-v5-global--palette--black-200) !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pfext-markdown-view pre:not(.pfext-code-block__pre) {
|
|
26
|
+
background-color: var(--pf-v5-global--BackgroundColor--100);
|
|
27
|
+
border-color: var(--pf-v5-global--BorderColor--100);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pfext-markdown-view .pf-v5-c-code-block__code {
|
|
31
|
+
color: var(--pf-v5-global--Color--100);
|
|
32
|
+
background-color: var(--pf-v5-global--palette--black-600);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.pfext-markdown-view .pf-v5-c-code-block,
|
|
36
|
+
.pfext-markdown-view .pf-v5-c-code-block code {
|
|
37
|
+
background-color: var(--pf-v5-global--BackgroundColor--400);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:where(.pfext-markdown-view) .pf-v5-c-clipboard-copy.pf-m-inline {
|
|
41
|
+
--pf-v5-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Make the cards light on dark background. It would be better to use pf-v5-c-page__main-section variable but we aren't using a page section here.
|
|
45
|
+
.pfext-page-layout__content {
|
|
46
|
+
background-color: var(--pf-v5-global--BackgroundColor--200);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pfext-quick-start-catalog__gallery-item .pf-v5-c-card {
|
|
50
|
+
--pf-v5-c-card--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Alerts currently has the wrong background in the PF dark stylesheet. This can be removed once that is fixed.
|
|
54
|
+
.pf-v5-c-alert {
|
|
55
|
+
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
56
|
+
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
57
|
+
--pf-v5-c-alert--m-inline--m-success--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
58
|
+
--pf-v5-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
59
|
+
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
60
|
+
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Contains a number of bootstrap styles that were implicitly in use within the markdown sections.
|
|
2
|
+
|
|
3
|
+
Before we had a dependency on bootstrap-sass and pulled in several of their styles.
|
|
4
|
+
|
|
5
|
+
"bootstrap-sass": "^3.3.7",
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
.pfext-markdown-view {
|
|
9
|
+
@import './ConsoleInternal/style/vars';
|
|
10
|
+
@import 'patternfly/dist/sass/patternfly/variables';
|
|
11
|
+
@import 'bootstrap-sass/assets/stylesheets/bootstrap/variables';
|
|
12
|
+
@import 'bootstrap-sass/assets/stylesheets/bootstrap/mixins';
|
|
13
|
+
@import 'patternfly/dist/sass/patternfly/bootstrap-mixin-overrides';
|
|
14
|
+
|
|
15
|
+
@import 'bootstrap-sass/assets/stylesheets/bootstrap/type';
|
|
16
|
+
@import 'bootstrap-sass/assets/stylesheets/bootstrap/code';
|
|
17
|
+
@import 'bootstrap-sass/assets/stylesheets/bootstrap/tables';
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Now we try to contain to a smaller subset and copy it in directly.
|