OpenShift 的Windows 容器支持Start();Write-Host('Listening at http://*:80/'); while ($listener.IsListening) { $context = $listener.GetContext(); $response = $context.Response; $content='Red Hat OpenShift + Windows Container W [System.Text.Encoding]::UTF8.GetBytes($content); $response.ContentLength64 = $buffer.Length; $response.OutputStream.Write($buffer, 0, $buffer.Length); $response.Close(); }; securityContext:
0 码力 | 38 页 | 757.61 KB | 1 年前3
OpenShift 的Windows 容器支持Start();Write-Host('Listening at http://*:80/'); while ($listener.IsListening) { $context = $listener.GetContext(); $response = $context.Response; $content='Red Hat OpenShift + Windows Container W [System.Text.Encoding]::UTF8.GetBytes($content); $response.ContentLength64 = $buffer.Length; $response.OutputStream.Write($buffer, 0, $buffer.Length); $response.Close(); }; securityContext:
0 码力 | 52 页 | 962.49 KB | 1 年前3
OpenShift Container Platform 4.13 认证和授权然后,它会确定该身份所映射到的用户,为该用户创建一个访问令牌,再返回要使用的令牌。 3.2. OAUTH 令牌请求流量和响应 OAuth 服务器支持标准的授权代码授权和隐式授权 OAuth 授权流。 在使用隐式授权流 (response_type=token) 以及配置为请求 WWW-Authenticate 质询 质询(如 openshift- challenging-client)的 client_id 以请求 OAuth "user:info", "user:check-access", "user:list-scoped-projects", "user:list-projects" ], "response_types_supported": [ 5 "code", "token" ], "grant_types_supported": [ 6 "authorization_code" OAuth 2.0 RFC 6749 范围值列表的 JSON 数组。请注意,并非所有支持 的范围值都会公告。 包含此授权服务器支持的 OAuth 2.0 response_type 值列表的 JSON 数组。使用的数组值与 response_types 参数(根据 RFC 7591 中“OAuth 2.0 Dynamic Client Registration Protocol”定义) 使用的数组值相同。0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序随后会被验证。 3. 可选:点 Show Advanced Git Options 来添加详情,例如: git Reference,指向特定的分支、标签或提交中的代码,以用于构建应用程序。 Context Dir,指定要用来构建应用程序的应用程序源代码的子目录。 Source Secret,创建一个具有用来从私有存储库拉取源代码的凭证的 Secret Name。 4. 可选:您可以通过 Git 文件,或者拖放 JAR 文件以部署您的应用。 进入 Topology 视图并使用 Upload JAR 文件 选项,或者拖放 JAR 文件来部署应用程序。 使用 Topology 视图中的 in-context 菜单,然后使用 Upload JAR 文件选项上传 JAR 文件以部署 应用程序。 OpenShift Container Platform 4.9 构 构建 建应 应用程序 用程序 20 如果使用私有远程 Git 存储库,您可以使用 --source-secret 标志指定一个现有源克隆 secret,此 secret 将注入到构建配置中以访问存储库。 您可以通过指定 --context-dir 标志来使用源代码存储库的子目录。从远程 Git 存储库和上下文子目录创 建应用程序: 另外,在指定远程 URL 时,您可以通过在 URL 末尾附加 #来指定要使用的 0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序随后会被验证。 3. 可选:点 Show Advanced Git Options 来添加详情,例如: git Reference,指向特定的分支、标签或提交中的代码,以用于构建应用程序。 Context Dir,指定要用来构建应用程序的应用程序源代码的子目录。 Source Secret,创建一个具有用来从私有存储库拉取源代码的凭证的 Secret Name。 4. 可选:您可以通过 Git JAR 文件以部署应用程序。 进入到 Topology 视图并使用 Upload JAR 文件 文件 选项,或者拖动 JAR 文件以部署应用程序。 使用 Topology 视图中的 in-context 菜单,然后使用 Upload JAR 文件 文件选项上传 JAR 文件以部署 应用程序。 先决条件 先决条件 Cluster Samples Operator 必须由集群管理员安装。 您可以访问 如果使用私有远程 Git 存储库,您可以使用 --source-secret 标志指定一个现有源克隆 secret,此 secret 将注入到构建配置中以访问存储库。 您可以通过指定 --context-dir 标志来使用源代码存储库的子目录。从远程 Git 存储库和上下文子目录创 建应用程序: 另外,在指定远程 URL 时,您可以通过在 URL 末尾附加 #来指定要使用的 0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具contexts: 2 - context: cluster: openshift1.example.com:8443 namespace: alice-project user: alice/openshift1.example.com:8443 name: alice-project/openshift1.example.com:8443/alice - context: cluster: project/openshift1.example.com:8443/alice,使用 joe-project 项 目,openshift1.example.com:8443 集群以及 alice 用户。 current-context 参数显示 joe-project/openshift1.example.com:8443/alice 上下文当前正在使用 中,允许 alice 用户在 openshift1.example.com:8443 列出当前项 项目 目 user: alice/openshift1.example.com:8443 name: joe-project/openshift1/alice current-context: joe-project/openshift1.example.com:8443/alice 3 kind: Config preferences: {} users: 4 - name: alice/openshift10 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具contexts: 2 - context: cluster: openshift1.example.com:8443 namespace: alice-project user: alice/openshift1.example.com:8443 name: alice-project/openshift1.example.com:8443/alice - context: cluster: joe-project user: alice/openshift1.example.com:8443 name: joe-project/openshift1/alice current-context: joe-project/openshift1.example.com:8443/alice 3 kind: Config preferences: {} users: 4 - name: alice/openshift1 project/openshift1.example.com:8443/alice,使用 joe-project 项 目,openshift1.example.com:8443 集群以及 alice 用户。 current-context 参数显示 joe-project/openshift1.example.com:8443/alice 上下文当前正在使用 中,允许 alice 用户在 openshift1.example.com:84430 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具contexts: 2 - context: cluster: openshift1.example.com:8443 namespace: alice-project user: alice/openshift1.example.com:8443 name: alice-project/openshift1.example.com:8443/alice - context: cluster: project/openshift1.example.com:8443/alice,使用 joe-project 项 目,openshift1.example.com:8443 集群以及 alice 用户。 current-context 参数显示 joe-project/openshift1.example.com:8443/alice 上下文当前正在使用 中,允许 alice 用户在 openshift1.example.com:8443 列出当前项 项目 目 user: alice/openshift1.example.com:8443 name: joe-project/openshift1/alice current-context: joe-project/openshift1.example.com:8443/alice 3 kind: Config preferences: {} users: 4 - name: alice/openshift10 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.7 安装import json import boto3 import cfnresponse def handler(event, context): elb = boto3.client('elbv2') if event['RequestType'] == 'Delete': event['ResourceProperties']['TargetIp']}]) responseData = {} cfnresponse.send(event, context, cfnresponse.SUCCESS, responseData, event['ResourceProperties']['TargetArn']+event['ResourcePro import json import boto3 import cfnresponse def handler(event, context): ec2_client = boto3.client('ec2') if event['RequestType'] == 'Delete':0 码力 | 2276 页 | 23.68 MB | 1 年前3
OpenShift Container Platform 4.8 安装import json import boto3 import cfnresponse def handler(event, context): elb = boto3.client('elbv2') if event['RequestType'] == 'Delete': event['ResourceProperties']['TargetIp']}]) responseData = {} cfnresponse.send(event, context, cfnresponse.SUCCESS, responseData, event['ResourceProperties']['TargetArn']+event['ResourcePro import json import boto3 import cfnresponse def handler(event, context): ec2_client = boto3.client('ec2') if event['RequestType'] == 'Delete':0 码力 | 2586 页 | 27.37 MB | 1 年前3
共 33 条
- 1
- 2
- 3
- 4













