Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Miykael_xxm
kubeflow.gitcode.host
提交
06418166
K
kubeflow.gitcode.host
项目概览
Miykael_xxm
/
kubeflow.gitcode.host
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubeflow.gitcode.host
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
06418166
编写于
7月 16, 2019
作者:
R
Richard Liu
提交者:
Kubernetes Prow Robot
7月 16, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove ksonnet references from miscellaneous GKE docs (#938)
* Fix monitor-iap * Fix GKE miscellaneous docs * Fix indents
上级
96182706
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
39 addition
and
25 deletion
+39
-25
content/docs/gke/custom-domain.md
content/docs/gke/custom-domain.md
+18
-6
content/docs/gke/deploy/monitor-iap-setup.md
content/docs/gke/deploy/monitor-iap-setup.md
+2
-6
content/docs/gke/private-clusters.md
content/docs/gke/private-clusters.md
+19
-13
未找到文件。
content/docs/gke/custom-domain.md
浏览文件 @
06418166
...
...
@@ -17,19 +17,31 @@ so, follow the guide to
If you want to use your own domain instead of
**${name}.endpoints.${project}.cloud.goog**
, follow these instructions:
1.
Modify your ksonnet application to r
emove the
`cloud-endpoints`
component:
1.
R
emove the
`cloud-endpoints`
component:
```
cd ${KFAPP}/ks_app
ks delete default -c cloud-endpoints
ks component rm cloud-endpoints
cd ${KFAPP}/kustomize
kubectl delete -f cloud-endpoints.yaml
```
1.
Set the domain for your ingress to be the fully qualified domain name:
```
ks param set iap-ingress hostname ${FQDN}
ks apply default -c iap-ingress
cd ${KFAPP}/kustomize
gvim iap-ingress.yaml # Or basic-auth-ingress.yaml
```
*
Find and replace the value for the hostname:
```
data:
hostname: <enter your endpoint here>
```
*
Apply the changes:
```
kubectl apply -f iap-ingress.yaml
```
1.
Get the address of the static IP address created:
...
...
content/docs/gke/deploy/monitor-iap-setup.md
浏览文件 @
06418166
...
...
@@ -80,14 +80,10 @@ problems:
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
annotations:
ksonnet.io/managed: '{"pristine":"H4sIAAAAAAAA/6yRsW7zMAyE9/8xONv+463w2qlLhg5dggyMRDuCJVIQ6RSB4XcvlDQdCnRqN0EHfjzerYA5vFHRIAwDOCqWkHGi0s1P2gX5f+kx5jP20MAc2MMAz1QsjMGhETSQyNCjIQwrRDxR1PqaVZjJKsBJysLEBgMEzG3gqZAqbA0wJoIBiC9yffy3FhXukmZ0VZ+XE41R3uuIZnJ1Abo6uoITHsMEw2EFLwkDKwwHmMf2klCNSsu7viP2WQKbdg9U60LrKUe5JmLrXJTFd5PIBMcGzmZ511f6w+s3j7Btx60BJykJ7+9H/GJlA561Yv7Ae1BdqLzSeGvhs7C4VNzLTYKv2COZErtyzdbmIv4WL7lCtv+pl2379wEAAP//AQAA///uHVhQMgIAAA=="}'
kubecfg.ksonnet.io/garbage-collect-tag: gc-tag
creationTimestamp: 2019-04-02T22:49:43Z
generation: 1
labels:
app.kubernetes.io/deploy-manager: ksonnet
ksonnet.io/component: iap-ingress
kustomize.component: iap-ingress
name: envoy-ingress-tls
namespace: istio-system
resourceVersion: "4803"
...
...
content/docs/gke/private-clusters.md
浏览文件 @
06418166
...
...
@@ -44,7 +44,6 @@ Before installing Kubeflow ensure you have installed the following tools:
*
[
kubectl
](
https://kubernetes.io/docs/tasks/tools/install-kubectl/
)
*
[
gcloud
](
https://cloud.google.com/sdk/
)
*
[
jsonnet
](
https://github.com/google/jsonnet/releases
)
You will need to know your gcloud organization id and project number; you can get it via gcloud
...
...
@@ -292,8 +291,8 @@ export PROJECT_NUMBER=$(gcloud projects describe kubeflow-dev --format='value(pr
1.
Remove components which are not useful in private clusters:
```
cd ${KFAPP}/k
s_app
k
s component rm cert-manager
cd ${KFAPP}/k
ustomize
k
ubectl delete -f cert-manager.yaml
```
1.
Create the deployment:
...
...
@@ -331,8 +330,20 @@ export PROJECT_NUMBER=$(gcloud projects describe kubeflow-dev --format='value(pr
1.
Update iap-ingress component parameters:
```
cd ${KFAPP}/ks_app
ks param set iap-ingress privateGKECluster true
cd ${KFAPP}/kustomize
gvim basic-auth-ingress.yaml # Or iap-ingress.yaml if you are using IAP
```
*
Find and set the
`privateGKECluster`
parameter to true:
```
privateGKECluster: "true"
```
*
Then apply your changes:
```
kubectl apply -f basic-auth-ingress.yaml
```
1.
Obtain an HTTPS certificate for your ${FQDN} and create a Kubernetes secret with it.
...
...
@@ -347,8 +358,8 @@ export PROJECT_NUMBER=$(gcloud projects describe kubeflow-dev --format='value(pr
you can get it by running
```
cd ${KFAPP}/k
s_app
ks param list | grep hostname
cd ${KFAPP}/k
ustomize
grep hostname: basic-auth-ingress.yaml
```
* Then create your Kubernetes secret
...
...
@@ -362,12 +373,7 @@ export PROJECT_NUMBER=$(gcloud projects describe kubeflow-dev --format='value(pr
* See [kubeflow/kubeflow#3079](https://github.com/kubeflow/kubeflow/issues/3079)
1.
Update the various ksonnet components to use
`gcr.io`
images instead of Docker Hub images:
```
cd ${KFAPP}/ks_app
${KUBEFLOW_SRC}/scripts/gke/use_gcr_for_all_images.sh --registry=gcr.io/${PROJECT}
```
1.
Update the various kustomize manifests to use
`gcr.io`
images instead of Docker Hub images.
1.
Apply all the Kubernetes resources:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录