---
# System prepended metadata

title: NET Conf 2020 - Lab-2
tags: [.NET Conf 2020, Event]

---

---
title: 'NET Conf 2020 - Lab-2'
disqus: hackmd
---
.NET Conf 2020 - Lab-2
===

## Source-2-Image，使用 Web Console
>1. 點選 Developer
>2. 點選 +Add
>3. 使用 From Git
>4. 將下列網址貼至 Git Repo URL
```gherkin=
https://github.com/redhat-developer/s2i-dotnetcore-ex
```
>5. 展開選項context-dir，加入
```gherkin=
app
```
>6. 確定部署
>7. 查看頁面
>8. 用oc command 查看應用相關資訊
```gherkin=
oc get all -o name
```
>9.查看路由資訊
```gherkin=
oc describe route/s-2-i-dotnetcore-ex
```
>10.查看label
```gherkin=
oc get all --selector app=s-2-i-dotnetcore-ex -o name
```
>11.刪除與應用相關資源
```gherkin=
oc delete all --selector app=s-2-i-dotnetcore-ex
```
>12. 確認是否刪除完畢
```gherkin=
oc get all -o name
```
###### tags: `Event` `.NET Conf 2020`