See my latest thoughts at https://twitter.com/ben_hall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: example | |
spec: | |
selector: | |
matchLabels: | |
app: example | |
replicas: 1 | |
template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[parameter(Mandatory = $true)] $ManagementIP, | |
[ValidateSet("l2bridge", "overlay",IgnoreCase = $true)] [parameter(Mandatory = $false)] $NetworkMode="l2bridge", | |
[parameter(Mandatory = $false)] $ClusterCIDR="10.244.0.0/16", | |
[parameter(Mandatory = $false)] $KubeDnsServiceIP="10.96.0.10", | |
[parameter(Mandatory = $false)] $ServiceCIDR="10.96.0.0/12", | |
[parameter(Mandatory = $false)] $InterfaceName="Ethernet", | |
[parameter(Mandatory = $false)] $LogDir = "C:\k", | |
[parameter(Mandatory = $false)] $KubeletFeatureGates = "" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "cmd+r", | |
"command": "workbench.action.replaceInFiles" | |
}, | |
{ | |
"key": "shift+cmd+h", | |
"command": "-workbench.action.replaceInFiles" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
name: iis | |
name: iis | |
namespace: default | |
spec: | |
containers: | |
- image: microsoft/iis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -LO https://get.docker.com/builds/Linux/x86_64/docker-17.05.0-ce.tgz | |
tar -xvf docker-17.05.0-ce.tgz | |
cp -r docker/* /usr/local/bin | |
/etc/init.d/docker restart | |
docker version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2017 Uber Technologies, Inc. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM katacoda/tensorflow-serving-devel:latest | |
WORKDIR /serving | |
EXPOSE 9000 | |
CMD ["bazel-bin/tensorflow_serving/model_servers/tensorflow_model_server", "--port=9000", "--model_name=inception", "--model_base_path=inception-export"] | |
# Client Example | |
# bazel-bin/tensorflow_serving/example/inception_client --server=localhost:9000 --image=/path/to/my_cat_image.jpg | |
COPY . /serving | |
RUN cd /serving/tensorflow && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<connectionStrings> | |
<add name="ApplicationServices" connectionString="Data Source=nerddinnerdb,1433;User Id=sa;Password=p@sSw0rd1sl0ngY0;" providerName="System.Data.SqlClient"/> | |
<add name="NerdDinnerEntities" connectionString="metadata=res://*/Models.NerdDinner.csdl|res://*/Models.NerdDinner.ssdl|res://*/Models.NerdDinner.msl;provider=System.Data.SqlClient;provider connection string="Data Source=nerddinnerdb,1433;User Id=sa;Password=p@sSw0rd1sl0ngY0;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" /> | |
<add name="ELMAH.SQLite" connectionString="Data Source=|DataDirectory|errors.s3db"/> | |
</connectionStrings> |
NewerOlder