将azureFile附加到kubernetes pod时出错

时间:2016-04-09 14:12:24

标签: azure kubernetes

我试图将音量附加到kubernetes pod,但却低于错误:

  

错误验证" test-pod.yaml":错误验证数据:发现无效   字段azureFile为v1.Volume;如果你选择忽略这些错误,   使用--validate = false

关闭验证
<!DOCTYPE html>
<html>
 <head>
   <meta charset="utf-8">
   <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
   <title></title>

   <link href="lib/ionic/css/ionic.css" rel="stylesheet">
   <link href="css/style.css" rel="stylesheet">

   <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
   <link href="css/ionic.app.css" rel="stylesheet">-->

   <!-- ionic/angularjs js -->
   <script src="lib/ionic/js/ionic.bundle.js"></script>

   <!-- cordova script (this will be a 404 during development) -->
   <script src="js/ng-cordova.min.js"></script>
   <script src="cordova.js"></script>

   <!-- your app's js -->
   <script src="js/app.js"></script>
 </head>
 <body ng-app="starter">

   <ion-pane>
     <ion-header-bar class="bar-stable">
       <h1 class="title">Barcode Scanner</h1>
     </ion-header-bar>
     <ion-content ng-controller="barcodeController">
           <button class="button button-full button-positive" ng-click="scanBarcode()">
            Scan Now
           </button>
           <div class="card">
               <div class="item item-divider">Barcode Data</div>
               <div class="item item-text-wrap">Barcode: {{barcodeNumber}}</div>
               <div class="item item-text-wrap">Format: {{barcodeFormat}}</div>
           </div>
      </ion-content>
    </ion-pane>
  </body>
</html>

1 个答案:

答案 0 :(得分:1)

相关问题